Skip to content

Commit

Permalink
chore: Update actions/checkout and actions/setup-dotnet versions to l…
Browse files Browse the repository at this point in the history
…atest stable versions
  • Loading branch information
tsubakimoto committed Jun 30, 2024
1 parent ec6d455 commit 94ea405
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/net70-aspnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
working-directory: 'dotnet/net7.0'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup .NET
id: setup
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: dotnet/global.json

Expand All @@ -44,7 +44,7 @@ jobs:
run: dotnet publish --no-build --configuration ${{ env.BUILD_CONFIGURATION }} --output ${{env.DOTNET_ROOT}}/myapp ${{ env.SOURCE_CODE_PATH }}

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: .net-app
path: ${{env.DOTNET_ROOT}}/myapp
Expand All @@ -57,7 +57,7 @@ jobs:
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: .net-app

Expand All @@ -70,7 +70,7 @@ jobs:

- name: 'Run Azure webapp deploy action'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@v3
with:
app-name: ${{ vars.AZURE_WEBAPP_NAME }}-dotnet7
slot-name: 'Production'
Expand Down

0 comments on commit 94ea405

Please sign in to comment.