This commit is contained in:
Salastil
2025-11-16 12:39:52 -05:00
parent 04f3ef2500
commit f0ee328034

View File

@@ -0,0 +1,29 @@
name: Build Go Project
on:
push:
branches: ["master"]
pull_request:
jobs:
build:
runs-on: docker
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Build
run: |
go mod download
go build -o Sneedchat-Discord-Bridge .
- name: Archive build artifact
uses: actions/upload-artifact@v4
with:
name: sneedchatdiscordbridge
path: Sneedchat-Discord-Bridge