From 7df2e3f449d3b9ccc72ddd4e24f18c3f8bb5ade5 Mon Sep 17 00:00:00 2001 From: Luc Appelman <46456214+controlol@users.noreply.github.com> Date: Sat, 30 Oct 2021 16:22:21 +0200 Subject: [PATCH] Update update-release-v1.yml --- .github/workflows/update-release-v1.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update-release-v1.yml b/.github/workflows/update-release-v1.yml index 2d12883..d927cbd 100644 --- a/.github/workflows/update-release-v1.yml +++ b/.github/workflows/update-release-v1.yml @@ -20,7 +20,17 @@ jobs: node-version: [16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - steps: + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: zip build.zip $(find build) + - name: Generate version id: version uses: paulhatch/semantic-version@v4.0.2 @@ -39,16 +49,6 @@ jobs: short_tags: true # If this is set to true, *every* commit will be treated as a new version. bump_each_commit: false - - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: zip build.zip $(find build) - name: Create Release id: create_release