v0.2.7 #31
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 | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-latest, macos-latest ] | |
steps: | |
- name: 拉代码 | |
uses: actions/checkout@v3 | |
- name: Node 18.15 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.15" | |
- name: Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pip install -r requirements-build.txt | |
- name: Build executable | |
run: | | |
python .github/workflows/build.py | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Setup | |
retention-days: 1 | |
path: ./dist/* |