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

View File

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