Skip to content

Commit

Permalink
Fix the workflow.yaml for portable application in windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsk569937453 committed Oct 19, 2024
1 parent ccb4026 commit f937e6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ jobs:
- name: install frontend dependencies
run: pnpm install # change this to npm, pnpm or bun depending on which one you use.
- name: Get app version
run: echo "APP_VERSION=$(cargo metadata --no-deps --format-version 1 --manifest-path src-tauri/Cargo.toml | jq -r '.packages[0].version')" >> $GITHUB_ENV
run: |
cd .\src-tauri
$APP_VERSION = (cargo pkgid | ForEach-Object { ($_ -split "@")[1] })
"APP_VERSION=$APP_VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append
- uses: tauri-apps/tauri-action@v0
env:
Expand Down

0 comments on commit f937e6e

Please sign in to comment.