Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 committed Sep 14, 2021
1 parent 1281249 commit 05c9d70
Showing 1 changed file with 7 additions and 27 deletions.
34 changes: 7 additions & 27 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,10 @@ jobs:
echo "::set-output name=shasum::$SHASUM"
- name: upload tarball
uses: svenstaro/upload-release-action@v2
uses: AButler/upload-release-assets@v2.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./${{ steps.archive.outputs.tarball }}
asset_name: ${{ steps.archive.outputs.tarball }}

- name: upload shasum
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./${{ steps.archive.outputs.shasum }}
asset_name: ${{ steps.archive.outputs.shasum }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: '${{ steps.archive.outputs.tarball }}, ${{ steps.archive.outputs.shasum }}'

# Build with gcc 6.3 and run tests on Alpine Linux (inside chroot).
# Note: Alpine uses musl libc.
Expand Down Expand Up @@ -128,18 +118,8 @@ jobs:
echo "::set-output name=tarball::$TARBALL"
echo "::set-output name=shasum::$SHASUM"
- name: upload tarball
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./${{ steps.archive.outputs.tarball }}
asset_name: ${{ steps.archive.outputs.tarball }}

- name: upload shasum
uses: svenstaro/upload-release-action@v2
- name: upload
uses: AButler/upload-release-assets@v2.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./${{ steps.archive.outputs.shasum }}
asset_name: ${{ steps.archive.outputs.shasum }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: '${{ steps.archive.outputs.tarball }}, ${{ steps.archive.outputs.shasum }}'

0 comments on commit 05c9d70

Please sign in to comment.