Skip to content

Commit 14145cd

Browse files
authored
CI Fixups (microsoft#341)
* codeql-action and upload-artifact need to be bumped to newer versions. * The artifact names must be unique across jobs, upload-artifact v4 won't merge all the outputs into a single archive like before.
1 parent 31777ba commit 14145cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
arch: ${{ matrix.arch }}
3636

3737
- name: Initialize CodeQL for C++
38-
uses: github/codeql-action/init@v2
38+
uses: github/codeql-action/init@v3
3939
if: ${{ matrix.os == 'windows-2019' && matrix.conf == 'Debug' }}
4040
with:
4141
languages: cpp
@@ -56,14 +56,14 @@ jobs:
5656
if: ${{ matrix.arch == 'x86' || matrix.arch == 'x64' }}
5757

5858
- name: Upload artifacts for ${{ matrix.arch }} on ${{ matrix.os }}
59-
uses: actions/upload-artifact@v3
59+
uses: actions/upload-artifact@v4
6060
with:
61-
name: artifacts-${{ matrix.os }}
61+
name: artifacts-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.conf }}
6262
path: |
6363
lib.*/
6464
bin.*/
6565
include/
6666
6767
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v2
68+
uses: github/codeql-action/analyze@v3
6969
if: ${{ matrix.os == 'windows-2019' && matrix.conf == 'Debug' }}

0 commit comments

Comments
 (0)