From 90f38af9218df1d0babe3f1920f8c573796ddb01 Mon Sep 17 00:00:00 2001 From: aoirint Date: Sun, 26 Sep 2021 09:34:22 +0900 Subject: [PATCH] add noengine-prepackage name and path in matrix --- .github/workflows/build.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10f126a8db..089ace1f78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,12 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2019] + artifact_name: + - windows-noengine-prepackage + include: + - artifact_name: windows-noengine-prepackage + artifact_path: dist_electron/win-unpacked + os: windows-2019 runs-on: ${{ matrix.os }} steps: @@ -71,17 +76,17 @@ jobs: run: | df -h + # Build result will be exported to ${{ matrix.artifact_path }} - name: Build Electron shell: bash run: npm run electron:build_pnever -- --dir - - name: Upload Windows NoEngine Prepackage - if: startsWith(matrix.os, 'windows-') + - name: Upload NoEngine Prepackage uses: actions/upload-artifact@v2 with: - name: windows-noengine-prepackage + name: ${{ matrix.artifact_name }} path: | - dist_electron/win-unpacked + ${{ matrix.artifact_path }} build-engine-prepackage: