Skip to content

Update build-installer.yml #1

Update build-installer.yml

Update build-installer.yml #1

# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: CMake on multiple platforms
on: workflow_dispatch
# on: [push, pull_request]
jobs:
cmake-multi-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
- name: (2) Unzip
- 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"