run action with specified generator job on multiple platforms

This commit is contained in:
Alfi Maulana
2023-01-10 18:35:21 +07:00
parent fd57ca9c23
commit f290ba80de
2 changed files with 10 additions and 2 deletions

View File

@@ -74,7 +74,10 @@ jobs:
run: build/${{ matrix.lang == 'C' && 'hello_world_c' || 'hello_world' }}
use-action-with-specified-generator:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0