Skip to content

Commit

Permalink
fix(actions): include injection in windows + echo config properly
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Nov 8, 2023
1 parent 0d59de3 commit f8b5511
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
run: mkdir src-tauri/target/release/plugins && mkdir src-tauri/target/release/themes

- name: Create empty config.json
run: cd src-tauri/target/release && touch config.json
run: cd src-tauri/target/release && echo "{}" >> config.json

# paths:
# Windows:
Expand All @@ -98,7 +98,14 @@ jobs:
# - src-tauri/target/universal-apple-darwin/release/bundle/macos/Dorion.app
- name: Compress build (windows)
if: matrix.platform == 'windows-latest'
run: 7z a -tzip Dorion.zip src-tauri/target/release/Dorion.exe src-tauri/target/release/config.json src-tauri/target/release/updater.exe src-tauri/target/release/plugins/ src-tauri/target/release/themes/ src-tauri/target/release/icons/
run: 7z a -tzip Dorion.zip \
src-tauri/target/release/Dorion.exe \
src-tauri/target/release/config.json \
src-tauri/target/release/updater.exe \
src-tauri/target/release/plugins/ \
src-tauri/target/release/themes/ \
src-tauri/target/release/icons/ \
src-tauri/target/release/injection/

- name: Compress build (linux)
if: matrix.platform == 'ubuntu-latest'
Expand Down

0 comments on commit f8b5511

Please sign in to comment.