chore: build后文件名不能含有中文 #6
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 | |
on: | |
push: | |
tags: | |
- 'V*.*.*' | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-13, windows-2022] | |
steps: | |
- name: Install Snapcraft | |
if: matrix.os == 'ubuntu-22.04' | |
run: | | |
sudo snap install snapcraft --classic | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Build/release Electron app | |
env: | |
GH_TOKEN: ${{ secrets.github_token }} | |
run: | | |
yarn install | |
yarn build --publish always |