Skip to content

Commit

Permalink
ci: fixed ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lovelylavender4 committed Feb 25, 2024
1 parent d90849e commit a7afe08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ jobs:
cp -r iFamily/include/ artifact/
- run: |
zip -r ../${{ github.event.repository.name }}${{ matrix.header-only == true && '-header-only' || '-test' }}-windows-x64.zip *
zip -r ../${{ github.event.repository.name }}${{ matrix.header-only == true && '-test' || '-header-only' }}-windows-x64.zip *
working-directory: artifact
- id: calculate-sha256
run: |
echo sha256=$(sha256sum ${{ github.event.repository.name }}${{ matrix.header-only == true && '-header-only' || '-test' }}-windows-x64.zip | awk '{print $1}') >> $GITHUB_OUTPUT
echo sha256=$(sha256sum ${{ github.event.repository.name }}${{ matrix.header-only == true && '-test' || '-header-only' }}-windows-x64.zip | awk '{print $1}') >> $GITHUB_OUTPUT
- uses: softprops/action-gh-release@v1
with:
append_body: true
body: |-
| ${{ github.event.repository.name }}${{ matrix.header-only == true && '-header-only' || '-test' }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} |
| ${{ github.event.repository.name }}${{ matrix.header-only == true && '-test' || '-header-only' }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} |
files: |
${{ github.event.repository.name }}${{ matrix.header-only == true && '-header-only' || '-test' }}-windows-x64.zip
${{ github.event.repository.name }}${{ matrix.header-only == true && '-test' || '-header-only' }}-windows-x64.zip

0 comments on commit a7afe08

Please sign in to comment.