Skip to content

Update build-installer.yml #5

Update build-installer.yml

Update build-installer.yml #5

name: Build installer
on: [workflow_dispatch, push]
jobs:
installer-build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false
# Set up a matrix to run the following 3 configurations:
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
# os: [ubuntu-latest, windows-latest]
os: [windows-latest]
build_type: [Release]
steps:
- name: (1) Artifacts
uses: actions/download-artifact@v4
with:
name: my-artifacts
path: artifacts
github-token: ${{ github.token }}
repository: ${{ github.repository }}
run-id: 10461346785
- name: (2) Unzip
run: dir
- name: (2) Unzip
run: Expand-Archive -Path artifacts/my-artifacts.zip -DestinationPath artifacts/extract
# run: zip -r artifacts/my-artifacts.zip artifacts/extract
- name: (3) Create installer
#if: ${{ matrix.os == "windows-latest}}
uses: joncloud/[email protected]
with:
arguments: "/V3"