Build learning changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user