Skip to content

Commit

Permalink
ci: fix the windows installer action
Browse files Browse the repository at this point in the history
  • Loading branch information
brokad authored Sep 30, 2021
1 parent cd44c15 commit 03c2513
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
toolchain: nightly
- id: tag
uses: dawidd6/action-get-tag@v1
- id: version
shell: bash
run: |
VERSION=$(cargo metadata --format-version 1 | jq '.packages[] | select (.name == "synth") | .version' -r)
echo "::set-output name=version::${VERSION}"
- run: cargo +nightly build --release --features telemetry
- id: install-wix
run: nuget install WiX -Version 3.11.2
Expand All @@ -61,6 +66,12 @@ jobs:
run: |
cd synth
cargo wix --nocapture
- name: Rename output
shell: bash
run: |
cd synth
mv ./target/wix/synth-${{ steps.version.outputs.version }}-x86_64.msi \
./target/wix/synth-${{ steps.tag.outputs.tag }}-x86_64.msi
- uses: actions/upload-artifact@v2
with:
name: synth-${{ steps.tag.outputs.tag }}-windows-msi-x86_64
Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
, release ? true
}:
let
version = "0.5.5";
version = "0.5.6";
darwinBuildInputs =
stdenv.lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
libiconv
Expand Down

0 comments on commit 03c2513

Please sign in to comment.