From 719c7592943439bb6a63e0d381075d759f52ba52 Mon Sep 17 00:00:00 2001 From: Yann Bizeul Date: Mon, 7 Aug 2023 18:17:10 +0200 Subject: [PATCH] Fix action --- .github/workflows/release.yaml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1c65245..b4fb0ce 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: @@ -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/go-release-action@v1.35 with: github_token: ${{ secrets.PACKAGE_TOKEN }}