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 5, 2024
1 parent bef8ac4 commit 2115a32
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,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: |
2.1.x
Expand All @@ -40,8 +40,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()
10 changes: 6 additions & 4 deletions .github/workflows/push-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,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: |
2.1.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
with:
name: packages
path: artifacts/packages
compression-level: 0
if: always()

0 comments on commit 2115a32

Please sign in to comment.