forked from sreiter/ProMesh
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.43 KB
/
build-installer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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: zip -r artifacts/my-artifacts.zip artifacts/extract
- name: (3) Create installer
#if: ${{ matrix.os == "windows-latest}}
uses: joncloud/[email protected]
with:
arguments: "/V3"