Skip to content

Commit

Permalink
fix job
Browse files Browse the repository at this point in the history
  • Loading branch information
sensuikan1973 committed Jan 9, 2021
1 parent 8732d8c commit 77b2795
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish_assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ jobs:
sh scripts/build_edax.sh
dart2native bin/edax_runner.dart -v -o ${{ env.dst }}/${{ env.bin_name }}
- name: zip files
- name: zip files (Windows)
if: runner.os == 'Windows'
run: mkdir -p dst && powershell Compress-Archive -Path ${{ env.OUTPUT_DIR }} -DestinationPath dst/${{ runner.os }}.zip
- name: zip files (Linux, MacOS)
if: runner.os == 'macOS' || runner.os == 'Linux'
run: mkdir -p dst && zip -r dst/${{ runner.os }}.zip ${{ env.OUTPUT_DIR }}

- uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 77b2795

Please sign in to comment.