Fix rare error when updating artwork #149
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: CI | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- { os: macos-latest, arg: --mac } | |
- { os: ubuntu-latest, arg: --linux } | |
- { os: windows-latest, arg: --windows } | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Rust setup | |
uses: dtolnay/rust-toolchain@stable | |
- name: Node.js setup | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- run: npm install | |
- run: npm run napi | |
- run: npm run build:web | |
- run: npm run electron-builder -- ${{ matrix.arg }} --publish never |