summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
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
commit4e80580b248c783dd530396564bcfcf3244bd729 (patch)
treeb5e848dbe96523854ee4e31f1215480192125791 /.github/workflows
parenta953146ef1e995b2cc3eb16e981ca8a7947060fe (diff)
Fix windows build, add mkdir
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-on-release.yml5
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