mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-28 23:36:33 +00:00
dev(ci): 再 次 修 复
This commit is contained in:
parent
afa9c45717
commit
e5767cedd7
24
.github/workflows/publish.yaml
vendored
24
.github/workflows/publish.yaml
vendored
@ -1,4 +1,4 @@
|
||||
name: 发布版本时构建应用
|
||||
name: 发布新版本时构建应用
|
||||
|
||||
on:
|
||||
release:
|
||||
@ -22,37 +22,41 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn config set registry https://registry.npmmirror.com/
|
||||
yarn install
|
||||
- name: 安装依赖
|
||||
run: yarn install
|
||||
|
||||
- name: Build and package for Windows
|
||||
|
||||
- name: Windows 设置镜像源
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: yarn build:win
|
||||
|
||||
- name: Build and package for macOS
|
||||
- name: Windows 构建
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: yarn build:win
|
||||
|
||||
- name: MacOS 构建
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: yarn build:mac
|
||||
|
||||
- name: Build and package for Linux
|
||||
- name: Linux 构建
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: yarn build:linux
|
||||
|
||||
- name: Upload artifact for Windows
|
||||
- name: Windows 上传
|
||||
if: matrix.os == 'windows-latest'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ExamShowboard-Windows
|
||||
path: dist/*.exe
|
||||
|
||||
- name: Upload artifact for macOS
|
||||
- name: MacOS 上传
|
||||
if: matrix.os == 'macos-latest'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ExamShowboard-macOS
|
||||
path: dist/*.dmg
|
||||
|
||||
- name: Upload artifact for Linux
|
||||
- name: Linux 上传
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user