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 9cbb182 commit c526036
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
os: [windows-2022, ubuntu-22.04, macOS-12]
steps:
- name: Clone source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
Expand All @@ -25,7 +25,7 @@ jobs:
shell: bash

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

- name: "Upload artifact: test-${{ matrix.os }}"
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: test-${{ matrix.os }}
path: artifacts/test
compression-level: 9
if: always()
10 changes: 6 additions & 4 deletions .github/workflows/push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
DOTNET_NOLOGO: true
steps:
- name: Clone source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
Expand All @@ -24,7 +24,7 @@ jobs:
shell: bash

- name: Install .NET SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
Expand All @@ -49,15 +49,17 @@ jobs:
run: dotnet run --project tools/builder --no-launch-profile -- 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 c526036

Please sign in to comment.