diff --git a/.github/workflows/test.yaml.tmpl b/.github/workflows/test.yaml.tmpl index 3e8107b..f4fca06 100644 --- a/.github/workflows/test.yaml.tmpl +++ b/.github/workflows/test.yaml.tmpl @@ -4,8 +4,11 @@ on: workflow_dispatch: jobs: - success: - runs-on: ubuntu-latest + valid-tag: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: - name: [[[ .Env.WORKFLOW_NAME ]]] valid tag id: gha-docker-image-exists @@ -22,8 +25,11 @@ jobs: exit 1 fi - fail: - runs-on: ubuntu-latest + invalid-tag: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: - name: [[[ .Env.WORKFLOW_NAME ]]] invalid tag id: gha-docker-image-exists