From 1cb55ce9346ab27bb3448dd278dbcfda512cd295 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Fri, 10 May 2024 17:29:36 +0200 Subject: [PATCH] chore: Update alpha.yml workflow to include check-release job --- .github/workflows/alpha.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 9f00a972c..89c4a6bd1 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -4,6 +4,7 @@ on: workflow_dispatch: jobs: + build-data: permissions: contents: write @@ -71,11 +72,24 @@ jobs: commit_user_name: Zen Browser Robot commit_user_email: zen-browser-bot@users.noreply.github.com + check-release: + runs-on: ubuntu-latest + needs: [build-data] + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Get version + id: data + shell: bash + run: | + echo "version=$(gluon get version | xargs)" + linux: permissions: contents: write runs-on: ubuntu-latest - needs: [build-data] + needs: [build-data, check-release] steps: - name: Install Node.js @@ -202,7 +216,7 @@ jobs: windows: runs-on: ubuntu-latest - needs: [build-data] + needs: [build-data, linux, check-release] steps: - name: Install Node.js and pnpm @@ -322,7 +336,7 @@ jobs: permissions: contents: write runs-on: ubuntu-latest - needs: [build-data] + needs: [build-data, linux] steps: - name: Install Node.js @@ -380,7 +394,7 @@ jobs: mac: if: false runs-on: macos-13 - needs: [build-data] + needs: [build-data, check-release] steps: - name: Install Node.js @@ -486,7 +500,7 @@ jobs: release: name: Release - needs: [build-data, linux, source, windows] + needs: [build-data, linux, source, windows, check-release] runs-on: ubuntu-latest if: ${{ github.ref == 'refs/heads/alpha' }}