From c2f171d28113401917f0c7fdc90fe92c3f0d22db Mon Sep 17 00:00:00 2001 From: Yuta Matsumura Date: Sun, 30 Jun 2024 21:12:15 +0900 Subject: [PATCH] chore: Update actions/checkout and actions/setup-dotnet versions to latest stable versions --- .github/workflows/net80-aspnetcore.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/net80-aspnetcore.yml b/.github/workflows/net80-aspnetcore.yml index 55cb0db..5998289 100644 --- a/.github/workflows/net80-aspnetcore.yml +++ b/.github/workflows/net80-aspnetcore.yml @@ -24,11 +24,11 @@ jobs: working-directory: 'dotnet/net8.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 @@ -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 @@ -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 @@ -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 }}-dotnet8 slot-name: 'Production'