Skip to content

Commit

Permalink
feat: Change once again the asset path/name
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed Jun 30, 2020
1 parent d2d11fb commit 99e9584
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
run: cmake --build . --config $BUILD_TYPE --parallel 10

- name: Compress files
run: tar -czf "san-${{ github.event.release.tag_name }}-macos-binaries.tar.gz" std bin/san examples internal
run: tar -czf san-macos-binaries.tar.gz std bin/san examples internal

- name: Upload the artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: san-${{ github.event.release.tag_name }}-macos-binaries.tar.gz
asset_path: san-macos-binaries.tar.gz
asset_name: san-${{ github.event.release.tag_name }}-macos-binaries.tar.gz
asset_content_type: application/tar+gzip

Expand Down Expand Up @@ -80,15 +80,15 @@ jobs:
run: cmake --build . --config $BUILD_TYPE --parallel 10

- name: Compress files
run: tar -czf "san-${{ github.event.release.tag_name }}-ubuntu-binaries.tar.gz" std bin/san examples internal
run: tar -czf san-ubuntu-binaries.tar.gz std bin/san examples internal

- name: Upload the artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: san-${{ github.event.release.tag_name }}-ubuntu-binaries.tar.gz
asset_path: san-ubuntu-binaries.tar.gz
asset_name: san-${{ github.event.release.tag_name }}-ubuntu-binaries.tar.gz
asset_content_type: application/tar+gzip

Expand Down Expand Up @@ -126,14 +126,14 @@ jobs:
run: mv -Force "$env:GITHUB_WORKSPACE/bin/Release/san.exe" "$env:GITHUB_WORKSPACE/bin/san.exe"

- name: Compress files
run: 7z a -y "san-${{ github.event.release.tag_name }}-windows-binaries.zip" std bin/san.exe examples internal
run: 7z a -y san-windows-binaries.zip std bin/san.exe examples internal

- name: Upload the artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: san-${{ github.event.release.tag_name }}-windows-binaries.zip
asset_path: san-windows-binaries.zip
asset_name: san-${{ github.event.release.tag_name }}-windows-binaries.zip
asset_content_type: application/zip

0 comments on commit 99e9584

Please sign in to comment.