File tree 1 file changed +16
-4
lines changed
1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 14
14
PULUMI_TEST_OWNER : " moolumi"
15
15
16
16
jobs :
17
+ setup_matrix :
18
+ runs-on : ubuntu-latest
19
+ outputs :
20
+ matrix : ${{ steps.set-matrix.outputs.matrix }}
21
+ steps :
22
+ - id : set-matrix
23
+ run : |
24
+ os="${{ contains(github.event.pull_request.labels.*.name, 'ci/test') && 'ubuntu-latest macos-latest windows-latest' || 'ubuntu-latest' }}"
25
+ echo "matrix={\"os\": $(echo $os | jq -cR 'split(" ")')}" >> $GITHUB_OUTPUT
26
+
17
27
build :
28
+ needs : setup_matrix
18
29
strategy :
19
30
matrix :
31
+ os : ${{ fromJson(needs.setup_matrix.outputs.matrix).os }}
20
32
dotnet-version : [6.0.x, 8.0.x]
21
33
22
- runs-on : ubuntu-latest
34
+ runs-on : ${{ matrix.os }}
23
35
steps :
24
36
- name : Checkout code
25
37
uses : actions/checkout@v4
47
59
token : ${{ secrets.CODECOV_TOKEN }}
48
60
integration-tests :
49
61
strategy :
50
- matrix :
51
- os : [ubuntu-latest, windows-latest, macos-11]
52
- dotnet-version : [6.0.x, 8.0.x]
62
+ matrix :
63
+ os : [ubuntu-latest, windows-latest, macos-11]
64
+ dotnet-version : [6.0.x, 8.0.x]
53
65
runs-on : ${{ matrix.os }}
54
66
steps :
55
67
- name : Checkout code
You can’t perform that action at this time.
0 commit comments