From c36b32a7aa684e0f464507135aec9e513c97ff9b Mon Sep 17 00:00:00 2001 From: agracio Date: Mon, 28 Oct 2024 15:12:36 +0000 Subject: [PATCH] updating workflows --- .github/workflows/build-all.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index f4b9e27..84817da 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -71,24 +71,23 @@ jobs: electron-versions: runs-on: ${{ matrix.os }} outputs: - test-versions: ${{ steps.electron-test-versions.outputs.test-versions }} + matrix: ${{ steps.electron-test-versions.outputs.matrix }} strategy: # fail-fast: false matrix: os: [windows-2022] needs: build + name: latest-electron-versions steps: - name: Electron versions shell: bash id: electron-test-versions - run: echo "test-versions={\"include\":[{\"electron\":\"29.4.6\"},{\"electron\":\"30.5.1\"},{\"electron\":\"31.7.2\"},{\"electron\":\"32.2.2\"},{\"electron\":\"33.0.2\"}]}" >> $GITHUB_OUTPUT + run: echo "matrix={'include':[{'electron':'29.4.6', 'os':'windows-2022'},{'electron':'30.5.1', 'os':'windows-2022'},{'electron':'31.7.2', 'os':'windows-2022'},{'electron':'32.2.2', 'os':'windows-2022'},{'electron':'33.0.2', 'os':'windows-2022'}]}" >> $GITHUB_OUTPUT test: - runs-on: ${{ matrix.os }} strategy: - matrix: - os: [windows-2022] - electron: ${{ fromJSON(needs.electron-versions.outputs.test-versions) }} + matrix: ${{ fromJSON(needs.electron-versions.outputs.matrix) }} + runs-on: ${{ matrix.os }} needs: electron-versions # fail-fast: false