|
21 | 21 | upload-artifacts:
|
22 | 22 | strategy:
|
23 | 23 | matrix:
|
24 |
| - os: |
25 |
| - - ubuntu-latest |
26 |
| - - macos-latest |
27 | 24 | version:
|
28 | 25 | - stable-20221211
|
29 | 26 | - stable-20230418
|
|
36 | 33 | env:
|
37 | 34 | CODEQL_ACTION_TEST_MODE: true
|
38 | 35 | timeout-minutes: 45
|
39 |
| - runs-on: ${{ matrix.os }} |
| 36 | + runs-on: ubuntu-latest |
40 | 37 | steps:
|
41 | 38 | - name: Check out repository
|
42 | 39 | uses: actions/checkout@v4
|
|
48 | 45 | - uses: actions/setup-go@v5
|
49 | 46 | with:
|
50 | 47 | go-version: ^1.13.1
|
51 |
| - - name: Setup Python on MacOS |
52 |
| - uses: actions/setup-python@v5 |
53 |
| - if: | |
54 |
| - matrix.os == 'macos-latest' && ( |
55 |
| - matrix.version == 'stable-20221211' || |
56 |
| - matrix.version == 'stable-20230418' || |
57 |
| - matrix.version == 'stable-v2.13.5' || |
58 |
| - matrix.version == 'stable-v2.14.6') |
59 |
| - with: |
60 |
| - python-version: '3.11' |
61 | 48 | - uses: ./../action/init
|
62 | 49 | id: init
|
63 | 50 | with:
|
@@ -87,26 +74,24 @@ jobs:
|
87 | 74 | VERSIONS="stable-20221211 stable-20230418 stable-v2.13.5 stable-v2.14.6 default latest nightly-latest"
|
88 | 75 | LANGUAGES="cpp csharp go java javascript python"
|
89 | 76 | for version in $VERSIONS; do
|
90 |
| - for os in ubuntu-latest macos-latest; do |
91 |
| - pushd "./my-debug-artifacts-$os-${version//./}" |
92 |
| - echo "Artifacts from version $version on $os:" |
93 |
| - for language in $LANGUAGES; do |
94 |
| - echo "- Checking $language" |
95 |
| - if [[ ! -f "$language.sarif" ]] ; then |
96 |
| - echo "Missing a SARIF file for $language" |
97 |
| - exit 1 |
98 |
| - fi |
99 |
| - if [[ ! -f "my-db-$language.zip" ]] ; then |
100 |
| - echo "Missing a database bundle for $language" |
101 |
| - exit 1 |
102 |
| - fi |
103 |
| - if [[ ! -d "$language/log" ]] ; then |
104 |
| - echo "Missing logs for $language" |
105 |
| - exit 1 |
106 |
| - fi |
107 |
| - done |
108 |
| - popd |
| 77 | + pushd "./my-debug-artifacts-${version//./}" |
| 78 | + echo "Artifacts from version $version:" |
| 79 | + for language in $LANGUAGES; do |
| 80 | + echo "- Checking $language" |
| 81 | + if [[ ! -f "$language.sarif" ]] ; then |
| 82 | + echo "Missing a SARIF file for $language" |
| 83 | + exit 1 |
| 84 | + fi |
| 85 | + if [[ ! -f "my-db-$language.zip" ]] ; then |
| 86 | + echo "Missing a database bundle for $language" |
| 87 | + exit 1 |
| 88 | + fi |
| 89 | + if [[ ! -d "$language/log" ]] ; then |
| 90 | + echo "Missing logs for $language" |
| 91 | + exit 1 |
| 92 | + fi |
109 | 93 | done
|
| 94 | + popd |
110 | 95 | done
|
111 | 96 | env:
|
112 | 97 | GO111MODULE: auto
|
0 commit comments