Skip to content

Commit

Permalink
Added os suffix in github action runner builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerhgl committed May 17, 2021
1 parent 9d305e4 commit 31b6352
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- run: |
GOOS=linux
GORCH=amd64
go build -o build/minesweeper
go build -o build/minesweeper-linux
- name: linux release build for github
uses: ncipollo/release-action@v1
with:
artifacts: 'build/minesweeper'
artifacts: 'build/minesweeper-linux'
token: ${{ secrets.TOKEN }}
allowUpdates: true

Expand All @@ -45,10 +45,10 @@ jobs:
- run: |
GOOS=darwin
GORCH=amd64
go build -o build/minesweeper
go build -o build/minesweeper-macos
- name: macos release build for github
uses: ncipollo/release-action@v1
with:
artifacts: 'build/minesweeper'
artifacts: 'build/minesweeper-macos'
token: ${{ secrets.TOKEN }}
allowUpdates: true

0 comments on commit 31b6352

Please sign in to comment.