proper capitalization
Some checks failed
Build Go Project / build (push) Failing after 6m33s

This commit is contained in:
Salastil
2025-11-16 13:58:37 -05:00
parent f265393ed8
commit b888bf2a58
2 changed files with 17 additions and 17 deletions

View File

@@ -12,18 +12,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Build
run: |
mkdir -p dist
go build -o dist/Sneedchat-Discord-Bridge .
go mod tidy
go build -o Sneedchat-Discord-Bridge .
- name: Upload artifact
uses: https://gitea.com/gitea/actions/upload-artifact@main
- name: Upload Build Artifact
uses: https://gitea.com/actions/upload-artifact@v2
with:
name: sneedchatdiscordbridge
path: dist/*
name: sneedchat-bridge-bin
path: Sneedchat-Discord-Bridge

View File

@@ -3,7 +3,7 @@ name: Build & Release
on:
push:
tags:
- "v*.*.*"
- 'v*.*.*'
jobs:
release:
@@ -21,20 +21,20 @@ jobs:
- name: Build binaries
run: |
mkdir -p dist
GOOS=linux GOARCH=amd64 go build -o dist/sneedchat-bridge-linux-amd64 .
GOOS=linux GOARCH=arm64 go build -o dist/sneedchat-bridge-linux-arm64 .
GOOS=windows GOARCH=amd64 go build -o dist/sneedchat-bridge-windows-amd64.exe .
GOOS=darwin GOARCH=amd64 go build -o dist/sneedchat-bridge-macos-amd64 .
GOOS=darwin GOARCH=arm64 go build -o dist/sneedchat-bridge-macos-arm64 .
GOOS=linux GOARCH=amd64 go build -o dist/Sneedchat-Discord-Bridge-linux-amd64 .
GOOS=linux GOARCH=arm64 go build -o dist/Sneedchat-Discord-Bridge-linux-arm64 .
GOOS=windows GOARCH=amd64 go build -o dist/Sneedchat-Discord-Bridge-windows-amd64.exe .
GOOS=darwin GOARCH=amd64 go build -o dist/Sneedchat-Discord-Bridge-darwin-amd64 .
GOOS=darwin GOARCH=arm64 go build -o dist/Sneedchat-Discord-Bridge-darwin-arm64 .
- name: Create Release
uses: https://gitea.com/actions/release-action@v1
- name: Create Gitea Release
uses: gitea.com/actions/release-action@v1
with:
api_key: ${{ secrets.CI_TOKEN }}
owner: Salastil
repo: Sneedchat-Discord-Bridge-Go
tag: ${{ gitea.ref_name }}
name: Release ${{ gitea.ref_name }}
tag: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
draft: false
prerelease: false
files: dist/*