fix: use a more stable release action

This commit is contained in:
Toby 2021-12-16 01:04:58 -08:00
parent 1688ca5edd
commit 3d87d193ff
2 changed files with 6 additions and 10 deletions

View file

@ -40,12 +40,10 @@ jobs:
pkg: cmd
- name: Upload
uses: meeDamian/github-release@v2.0.3
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
gzip: false
allow_override: true
files: >
files: |
./dist/hysteria-linux-amd64
./dist/hysteria-linux-386
./dist/hysteria-linux-arm-5

View file

@ -40,12 +40,10 @@ jobs:
compress: false
- name: Upload
uses: meeDamian/github-release@v2.0.3
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
gzip: false
allow_override: true
files: >
files: |
./dist/hysteria-notun-linux-amd64
./dist/hysteria-notun-linux-386
./dist/hysteria-notun-linux-arm