Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
ybizeul committed Aug 7, 2023
1 parent 6cb3a1c commit 719c759
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,7 @@ on:
types: [created]

jobs:
build_ui:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
working-directory: ./ui
- run: npm run build
working-directory: ./ui

release:
needs: build_ui
name: release
runs-on: ubuntu-latest
strategy:
Expand All @@ -36,6 +18,14 @@ jobs:
goos: windows
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- run: npm install
working-directory: ./ui
- run: npm run build
working-directory: ./ui
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.PACKAGE_TOKEN }}
Expand Down

0 comments on commit 719c759

Please sign in to comment.