Build learning changes

This commit is contained in:
Salastil
2025-11-16 13:02:17 -05:00
parent 11d76b8e08
commit caa56b515e
2 changed files with 29 additions and 30 deletions

View File

@@ -7,7 +7,7 @@ on:
jobs:
build:
runs-on: docker
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -17,13 +17,14 @@ jobs:
with:
go-version: "1.22"
- name: Build
run: |
go mod download
go build -o Sneedchat-Discord-Bridge .
- name: Download dependencies
run: go mod download
- name: Archive build artifact
- name: Build binary
run: go build -o Sneedchat-Discord-Bridge .
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: sneedchatdiscordbridge
name: Sneedchat-Discord-Bridge
path: Sneedchat-Discord-Bridge