Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3, actions/checkout@v3, docker/login-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
  • Loading branch information
hackuna committed Mar 27, 2024
1 parent 11f27a8 commit 6c49721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:

steps:
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@main
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@main

- name: Restore dependencies
working-directory: ./${{env.APP_NAME}}/
Expand All @@ -44,7 +44,7 @@ jobs:
run: dotnet build --no-restore --configuration Release

- name: Log in to Container Registry
uses: docker/login-action@v2
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down

0 comments on commit 6c49721

Please sign in to comment.