Skip to content

Commit

Permalink
Upgrade github actions commands to one using node20 instead of deprec…
Browse files Browse the repository at this point in the history
…ated node16
  • Loading branch information
MichalBrylka committed Aug 3, 2024
1 parent 66cd560 commit eab1d2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Get all history to allow automatic versioning using MinVer

- name: 🔎 setup .NET # Install the .NET SDK indicated in the global.json file
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4

- name: 🗎 update release notes
if: github.event_name == 'release'
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}

- name: ⬆️ upload packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nuget
if-no-files-found: error
Expand All @@ -86,10 +86,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🔎 setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4

- name: 🧪 run tests and move results
run: |
Expand All @@ -103,7 +103,7 @@ jobs:
}
- name: ⬆️ upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure() # run this step even if previous step failed
with:
name: TestResults
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
path: ${{ env.NuGetDirectory }}

- name: 🔎 setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4

- name: 📦 publish NuGet package
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand All @@ -31,7 +31,7 @@ jobs:
languages: ${{ matrix.language }}

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4

- run: dotnet build --configuration Release

Expand Down

0 comments on commit eab1d2c

Please sign in to comment.