fix cd again #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Release Artifacts | |
on: | |
push: | |
tags: ['*'] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
release: | |
name: cargo release | |
runs-on: windows-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm install | |
- uses: dtolnay/rust-toolchain@nightly | |
- run: mkdir ./dist | |
- run: npm run tauri build | |
- run: 7z a -tzip LeagueRecord_${{ github.ref_name }}_x64_en-US.zip ./licenses/ ./libobs/ ./LeagueRecord.exe | |
working-directory: ./src-tauri/target/release/ | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "./src-tauri/target/release/*.zip, ./src-tauri/target/release/bundle/*.msi" | |
prerelease: true | |
body: | | |
Windows-x64 installer and portable version. | |
The \"portable\" requires a version of the webview2 runtime to be installed and won't work without it. | |
Windows 11 should have the Webview2 runtime installed by default. |