Skip to content

Commit

Permalink
Latest actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed May 6, 2024
1 parent 075f3ff commit 06087e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
DOTNET_NOLOGO: true
steps:
- name: Clone source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2

- name: Replace global.json
run: cp .github/workflows/.global.json global.json
shell: bash

- name: Install .NET SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
Expand All @@ -37,8 +37,9 @@ jobs:
run: dotnet run --project tools/builder --no-launch-profile -- BuildAll --timing

- name: "Upload artifact: test"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test
path: artifacts/test
compression-level: 9
if: always()
12 changes: 7 additions & 5 deletions .github/workflows/push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
DOTNET_NOLOGO: true
steps:
- name: Clone source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2

- name: Replace global.json
run: cp .github/workflows/.global.json global.json
shell: bash

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

- name: "Upload artifact: test"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test
path: artifacts/test
compression-level: 9
if: always()

- name: "Upload artifact: packages"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: packages
path: artifacts/packages
compression-level: 0
if: always()

0 comments on commit 06087e3

Please sign in to comment.