Skip to content

Commit

Permalink
Upgrade gh actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Apr 21, 2024
1 parent 59780cd commit efc0a24
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
configuration: [Debug, Release]
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build Solution
run: dotnet build --configuration ${{ matrix.configuration }} ${{ env.SolutionFile }}
Expand All @@ -37,7 +37,7 @@ jobs:
run: dotnet test --configuration ${{ matrix.configuration }} --no-build ${{ env.SolutionFile }}

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.Product }}${{ matrix.configuration }}Binaries
path: ${{ env.BinDir }}/${{ matrix.configuration }}/
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
configuration: [Debug, Release]
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build Solution
run: dotnet build --configuration ${{ matrix.configuration }} ${{ env.SolutionFile }}
Expand All @@ -37,7 +37,7 @@ jobs:
run: dotnet test --configuration ${{ matrix.configuration }} --no-build ${{ env.SolutionFile }}

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.Product }}${{ matrix.configuration }}Binaries
path: ${{ env.BinDir }}/${{ matrix.configuration }}/
6 changes: 3 additions & 3 deletions .github/workflows/pub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Create Release Notes
run: ${{ env.ScriptDir }}/CreateReleaseNotes.ps1
Expand All @@ -48,12 +48,12 @@ jobs:
needs: pub_create_github_release
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build Solution
run: dotnet build --configuration Release ${{ env.SolutionFile }}
Expand Down

0 comments on commit efc0a24

Please sign in to comment.