Skip to content

Commit

Permalink
add noengine-prepackage name and path in matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
aoirint committed Sep 26, 2021
1 parent 557036c commit 90f38af
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 90f38af

Please sign in to comment.