diff options
| author | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-27 19:56:02 +0300 |
|---|---|---|
| committer | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-27 19:56:02 +0300 |
| commit | a2c756fac91b43274782c3706494ff0c0790a64f (patch) | |
| tree | 113f217b6085c5d47010458589f2459c5b89f464 /.github | |
| parent | 38b3d28ed53bb109c5ec79cb6709d13b47a98293 (diff) | |
Fix zip step on windows
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-on-release.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/build-on-release.yml b/.github/workflows/build-on-release.yml index 5e1b6ed..efc89c4 100644 --- a/.github/workflows/build-on-release.yml +++ b/.github/workflows/build-on-release.yml @@ -68,11 +68,16 @@ jobs: mkdir -p ./dist/krr/grapheme/data cp $(python -c "import grapheme; print(grapheme.__path__[0] + '/data/grapheme_break_property.json')") ./dist/krr/grapheme/data/grapheme_break_property.json - - name: Zip the application - shell: bash + - name: Zip the application (Unix) + if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' run: | zip -r krr-${{ matrix.os }}-${{ github.ref_name }}.zip dist/krr + - name: Zip the application (Windows) + if: matrix.os == 'windows-latest' + run: | + Compress-Archive dist/krr krr-${{ matrix.os }}-${{ github.ref_name }}.zip + - name: Upload Release Asset uses: actions/upload-release-asset@v1.0.2 env: |
