Skip to content

update npm dependencies #28

update npm dependencies

update npm dependencies #28

Workflow file for this run

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: npx tauri build
env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
- run: 7z a -tzip LeagueRecord_${{ github.ref_name }}_x64_en-US.zip LeagueRecord.exe ../libobs licenses LICENSE.txt
working-directory: ./src-tauri/target/release/
- uses: ncipollo/release-action@v1
with:
artifacts: "./src-tauri/target/release/*.zip, ./src-tauri/target/release/bundle/nsis/*"
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.