diff options
| author | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-27 19:42:56 +0300 |
|---|---|---|
| committer | Павел Жуков <33721692+LeaveMyYard@users.noreply.github.com> | 2023-05-27 19:42:56 +0300 |
| commit | 4e80580b248c783dd530396564bcfcf3244bd729 (patch) | |
| tree | b5e848dbe96523854ee4e31f1215480192125791 /.github/workflows | |
| parent | a953146ef1e995b2cc3eb16e981ca8a7947060fe (diff) | |
Fix windows build, add mkdir
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-on-release.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build-on-release.yml b/.github/workflows/build-on-release.yml index 6d983cf..a569e8a 100644 --- a/.github/workflows/build-on-release.yml +++ b/.github/workflows/build-on-release.yml @@ -62,11 +62,14 @@ jobs: cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles - name: Build with PyInstaller + shell: bash run: | pyinstaller krr.py - ${{ fromJSON('{"ubuntu-latest":"cp","macos-latest":"cp","windows-latest":"copy"}')[matrix.os] || matrix.os }} $(python3.9 -c "import grapheme; print(grapheme.__path__[0] + '/data/grapheme_break_property.json')") ./dist/krr/grapheme/data/grapheme_break_property.json + mkdir -p ./dist/krr/grapheme/data + cp $(python3.9 -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 run: | zip -r krr-${{ matrix.os }}-${{ github.ref_name }}.zip dist/krr |
