From 16c179c08bd78b29af660225e6a6ab95e62ab4f9 Mon Sep 17 00:00:00 2001 From: agracio Date: Thu, 5 Dec 2024 20:02:08 +0000 Subject: [PATCH] updating CI --- .github/workflows/build.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c4cc3f..9098220 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,13 +45,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Get latestElectron version for v${{ inputs.build-version }} - id: electron-test-version - shell: bash - run: | - node tools/getVersion.js ${{ inputs.build-version }} - echo "test-version=$(cat electron.txt)" >> $GITHUB_OUTPUT - # - name: Resolve Electron version from major # id: electron-test-version # shell: bash @@ -73,6 +66,14 @@ jobs: with: electron: '${{ inputs.build-version }}.0.0' os: ${{ matrix.os }} + + - name: Get latestElectron version for v${{ inputs.build-version }} + id: electron-test-version + shell: bash + run: | + node tools/getVersion.js ${{ inputs.build-version }} + echo "test-version=$(cat electron.txt)" >> $GITHUB_OUTPUT + - name: install node-gyp run: npm i -g node-gyp