Skip to content

Commit

Permalink
replace upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz committed Apr 27, 2021
1 parent a60e79c commit b6f1aec
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Build Release
on:
release:
workflow_dispatch:
on: release
jobs:
build-release:
name: Build Release
Expand Down Expand Up @@ -32,8 +30,7 @@ jobs:
zip gorse_darwin_amd64.zip gorse-*_darwin_amd64
- name: Upload release
uses: JasonEtco/upload-to-release@master
uses: johnwbyrd/update-release@v1
with:
args: gorse_darwin_amd64.zip gorse_linux_amd64.zip gorse_windows_amd64.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
files: gorse_darwin_amd64.zip gorse_linux_amd64.zip gorse_windows_amd64.zip

0 comments on commit b6f1aec

Please sign in to comment.