Skip to content

Specify Runner OS Version in Workflows #162

Specify Runner OS Version in Workflows

Specify Runner OS Version in Workflows #162

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build-project:
name: Build Project
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure Project
uses: threeal/[email protected]
with:
run-build: false
- name: Build Project
run: cmake --build build --config Release
- name: Install Project
run: cmake --install build --prefix install
- name: Upload Project as Artifact
uses: actions/[email protected]
with:
name: package-${{ matrix.os }}
path: install