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 f06dde6 commit 36f8c8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ jobs:
- name: Build Portable Binaries (Windows)
if: ${{ matrix.platform == 'windows-latest' }}
run: |
cargo build --release --target ${{ matrix.target }}
mv ./target/${{ matrix.target }}/release/git-statistic.exe ./target/${{ matrix.target }}/release/git-statistic_${{ github.ref_name }}_x64-portable.exe
pnpm run tauri build
mv ./target/release/git-statistic.exe ./target/release/git-statistic_${{ github.ref_name }}_x64-portable.exe
- name: Upload Portable Binaries (Windows)
if: ${{ matrix.platform == 'windows-latest' }}
run: bash -c 'gh release upload ${{ github.ref_name }} ./target/${{ matrix.target }}/release/git-statistic_${{ github.ref_name }}_x64-portable.exe --clobber'
run: bash -c 'gh release upload ${{ github.ref_name }} ./target/release/git-statistic_${{ github.ref_name }}_x64-portable.exe --clobber'

0 comments on commit 36f8c8b

Please sign in to comment.