name: Build on: push: branches: ["master"] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Setup 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