n/a
Some checks failed
Build Go Project / build (push) Failing after 7s

This commit is contained in:
Salastil
2025-11-16 13:53:01 -05:00
parent 4347455435
commit f265393ed8
2 changed files with 14 additions and 15 deletions

View File

@@ -1,9 +1,8 @@
name: Build Go project
name: Build Go Project
on:
push:
branches: ["master"]
pull_request:
jobs:
build:
@@ -11,21 +10,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Go
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Build binary
- name: Build
run: |
mkdir -p dist
go mod download
go build -o dist/Sneedchat-Discord-Bridge .
- name: Upload Gitea artifact
uses: https://gitea.com/actions/upload-artifact@v1
- name: Upload artifact
uses: https://gitea.com/gitea/actions/upload-artifact@main
with:
name: sneedchatdiscordbridge
path: dist/Sneedchat-Discord-Bridge
path: dist/*