Skip to content

Commit

Permalink
Fix tar filename in CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigellute committed Oct 20, 2019
1 parent 0e56a8c commit ef39431
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
cd target/${{ matrix.target }}/release
strip spt
tar czvf spt-${{ matrix.artifact_prefix }}-${{ matrix.artifact_type }}.tar.gz spt
shasum -a 512 spt-${{ matrix.artifact_prefix }}-${{ matrix.artifact_type }}.tar.gz > spt-${{ matrix.artifact_prefix }}-${{ matrix.artifact_type }}.sha512
tar czvf spt-${{ matrix.artifact_prefix }}.tar.gz spt
shasum -a 512 spt-${{ matrix.artifact_prefix }}.tar.gz > spt-${{ matrix.artifact_prefix }}.sha512
- name: Releasing assets
uses: softprops/action-gh-release@v1
with:
files: |
target/${{ matrix.target }}/release/spt-${{ matrix.artifact_prefix }}-${{ matrix.artifact_type }}.tar.gz
target/${{ matrix.target }}/release/spt-${{ matrix.artifact_prefix }}-${{ matrix.artifact_type }}.sha512
target/${{ matrix.target }}/release/spt-${{ matrix.artifact_prefix }}.tar.gz
target/${{ matrix.target }}/release/spt-${{ matrix.artifact_prefix }}.sha512
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ef39431

Please sign in to comment.