Skip to content

fix ci npm run build #12

fix ci npm run build

fix ci npm run build #12

Workflow file for this run

# 构建桌面端
name: build
on:
push:
branches:
- 25-todo
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, macos-latest, ubuntu-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/*