Skip to content

Commit 06087e3

Browse files
committed
Latest actions versions
1 parent 075f3ff commit 06087e3

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/pull-request.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
DOTNET_NOLOGO: true
1212
steps:
1313
- name: Clone source
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717
submodules: true
1818

1919
- name: Add MSBuild to PATH
20-
uses: microsoft/setup-msbuild@v1
20+
uses: microsoft/setup-msbuild@v2
2121

2222
- name: Replace global.json
2323
run: cp .github/workflows/.global.json global.json
2424
shell: bash
2525

2626
- name: Install .NET SDK
27-
uses: actions/setup-dotnet@v3
27+
uses: actions/setup-dotnet@v4
2828
with:
2929
dotnet-version: |
3030
6.0.x
@@ -37,8 +37,9 @@ jobs:
3737
run: dotnet run --project tools/builder --no-launch-profile -- BuildAll --timing
3838

3939
- name: "Upload artifact: test"
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: test
4343
path: artifacts/test
44+
compression-level: 9
4445
if: always()

.github/workflows/push-main.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414
DOTNET_NOLOGO: true
1515
steps:
1616
- name: Clone source
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020
submodules: true
2121

2222
- name: Add MSBuild to PATH
23-
uses: microsoft/setup-msbuild@v1
23+
uses: microsoft/setup-msbuild@v2
2424

2525
- name: Replace global.json
2626
run: cp .github/workflows/.global.json global.json
2727
shell: bash
2828

2929
- name: Install .NET SDK
30-
uses: actions/setup-dotnet@v3
30+
uses: actions/setup-dotnet@v4
3131
with:
3232
dotnet-version: |
3333
6.0.x
@@ -50,15 +50,17 @@ jobs:
5050
run: dotnet run --project tools/builder --no-launch-profile -- BuildAll PublishPackages --timing
5151

5252
- name: "Upload artifact: test"
53-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5454
with:
5555
name: test
5656
path: artifacts/test
57+
compression-level: 9
5758
if: always()
5859

5960
- name: "Upload artifact: packages"
60-
uses: actions/upload-artifact@v3
61+
uses: actions/upload-artifact@v4
6162
with:
6263
name: packages
6364
path: artifacts/packages
65+
compression-level: 0
6466
if: always()

0 commit comments

Comments
 (0)