mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 06:46:35 +00:00
fix: 打包脚本
This commit is contained in:
parent
f81bf2d592
commit
272fa130a1
6
.github/workflows/publish.yaml
vendored
6
.github/workflows/publish.yaml
vendored
@ -7,7 +7,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -17,14 +16,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
|
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
||||||
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
||||||
|
|
||||||
|
|
||||||
- name: Build and package for Windows
|
- name: Build and package for Windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user