Skip to content

Commit

Permalink
ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Sep 15, 2024
1 parent ec4e69e commit 4552a73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
targets: x86_64-pc-windows-msvc

- run: cargo install cargo-component
- run: cargo install cargo-wix
- run: cargo install wac-cli
- run: cargo install wix

- name: Build package
run: |
cargo wix -p ${{ matrix.package }} --release --target x86_64-pc-windows-msvc
cargo wix -p ${{ matrix.package }} --target x86_64-pc-windows-msvc
mkdir result
mv target/x86_64-pc-windows-msvc/release/*.exe result
cp crates/${{ matrix.package }}/README.md result
Expand All @@ -52,8 +52,7 @@ jobs:
run: Compress-Archive -Path result/* -DestinationPath ${{ matrix.package }}.x86_64-windows.zip

- name: Create msi
run: |
cp target/x86_64-pc-windows-msvc/release/*.msi ${{ matrix.packages }}.x86-64_windows.msi
run: cp target/x86_64-pc-windows-msvc/release/*.msi ${{ matrix.packages }}.x86-64_windows.msi

- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion deploy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let
[
{
name = pkgs.lib.concatStrings [
"native-"
"app-"
subdir
];
value = mkAppPackage resource;
Expand Down

0 comments on commit 4552a73

Please sign in to comment.