Skip to content

Commit

Permalink
rm static
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Jan 8, 2025
1 parent 74283dd commit bca145d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,10 @@ jobs:
result-encoding: string
script: |
return 'autd3-'+context.payload.ref.replace(/refs\/tags\//, '')+'-${{ matrix.name }}-${{ matrix.arch }}';
- run: |
python3 build.py build --release --arch ${{ matrix.arch }} --features "static"
Compress-Archive -Path LICENSE, lib, ThirdPartyNotice.txt -DestinationPath assets-static.zip
if: ${{ matrix.os == 'windows-latest' }}
- run: |
python3 build.py build --release --arch ${{ matrix.arch }}
Compress-Archive -Path LICENSE, bin, ThirdPartyNotice.txt -DestinationPath assets-shared.zip
if: ${{ matrix.os == 'windows-latest' }}
- run: |
python3 build.py build --release --arch ${{ matrix.arch }} --features "static"
tar -zcvf assets-static.tar.gz lib LICENSE ThirdPartyNotice.txt
if: ${{ matrix.os != 'windows-latest' }}
- run: |
python3 build.py build --release --arch ${{ matrix.arch }}
tar -zcvf assets-shared.tar.gz bin LICENSE ThirdPartyNotice.txt
Expand All @@ -113,10 +105,3 @@ jobs:
asset_path: ./assets-shared.${{ matrix.os == 'windows-latest' && 'zip' || 'tar.gz' }}
asset_name: ${{ steps.get_version.outputs.result }}-shared.${{ matrix.os == 'windows-latest' && 'zip' || 'tar.gz' }}
asset_content_type: ${{ matrix.os == 'windows-latest' && 'application/zip' || 'application/octet-stream' }}
- uses: shogo82148/actions-upload-release-asset@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
upload_url: ${{ steps.get_release_info.outputs.content }}
asset_path: ./assets-static.${{ matrix.os == 'windows-latest' && 'zip' || 'tar.gz' }}
asset_name: ${{ steps.get_version.outputs.result }}-static.${{ matrix.os == 'windows-latest' && 'zip' || 'tar.gz' }}
asset_content_type: ${{ matrix.os == 'windows-latest' && 'application/zip' || 'application/octet-stream' }}

0 comments on commit bca145d

Please sign in to comment.