Skip to content

Commit d738de6

Browse files
committed
why isnt this working
1 parent b27d02a commit d738de6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release-rust.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,19 +165,22 @@ jobs:
165165

166166
- name: Create wix installer
167167
run: |
168-
$env:CARGO_HOME=$PWD
169-
170168
([Regex]'version = "0.1.0"').Replace((Get-Content -path Cargo.toml -Raw), 'version = "${{ steps.setversion.outputs.packageVersion }}"', 1) | Set-Content -Path Cargo.toml
171169
172170
cargo install cargo-wix
173171
cargo wix -b "C:\Program Files (x86)\WiX Toolset v3.11\bin"
174172
173+
ls -l ./target
174+
ls -l ./target/wix
175+
shell: pwsh
176+
175177
- name: Upload Artifact
176178
uses: actions/upload-artifact@v2
177179
with:
178180
name: wix
179181
path: |
180182
./target/wix/okapi-${{ steps.setversion.outputs.packageVersion }}-x86_64.msi
183+
working-directory: native
181184

182185
- name: Upload to Release
183186
uses: svenstaro/upload-release-action@v2
@@ -188,3 +191,4 @@ jobs:
188191
tag: ${{ steps.setversion.outputs.releaseVersion }}
189192
overwrite: false
190193
body: "okapi bundle for windows installer"
194+
working-directory: native

0 commit comments

Comments
 (0)