fix github action

This commit is contained in:
Tyler Stiene 2021-12-14 00:59:51 -05:00
parent c410c49095
commit c28a9cd5f8
2 changed files with 9 additions and 9 deletions

View File

@ -15,7 +15,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- -
name: Install libopus-dev name: Install libopus-dev
run: sudo apt-get -y install libopus-dev run: sudo apt update && sudo apt-get -y install libopus-dev
- -
name: Set up Go name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
@ -23,7 +23,7 @@ jobs:
go-version: 1.17 go-version: 1.17
- -
name: go-license install name: go-license install
run: go get github.com/google/go-licenses run: go install github.com/google/go-licenses@latest
- -
name: go-license save name: go-license save
run: go-licenses save ./cmd/mumble-discord-bridge --force --save_path="./dist/LICENSES" run: go-licenses save ./cmd/mumble-discord-bridge --force --save_path="./dist/LICENSES"
@ -36,9 +36,9 @@ jobs:
args: release --rm-dist args: release --rm-dist
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # -
name: Upload assets # name: Upload assets
uses: actions/upload-artifact@v2 # uses: actions/upload-artifact@v2
with: # with:
name: mdb # name: mdb
path: dist/* # path: dist/*

View File

@ -20,7 +20,7 @@ builds:
goarch: goarch:
- amd64 - amd64
archives: # archives:
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot: