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:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
@ -17,14 +16,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
||||
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
|
||||
|
||||
|
||||
- name: Build and package for Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
Loading…
x
Reference in New Issue
Block a user