Skip to content

Commit

Permalink
fix: 打包脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
hello8693 committed Aug 28, 2024
1 parent f81bf2d commit 272fa13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
if: github.event.release.prerelease == false || matrix.os == 'windows-latest'

strategy:
matrix:
Expand All @@ -17,14 +16,19 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
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'
Expand Down

0 comments on commit 272fa13

Please sign in to comment.