From e197e3877e7dd2dc930fd35aa864d9ff537d0d4a Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Tue, 7 Mar 2023 21:52:36 +1000 Subject: [PATCH] Update webapi.yml --- .github/workflows/webapi.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/webapi.yml b/.github/workflows/webapi.yml index 6d5e376f..2f1aef7c 100644 --- a/.github/workflows/webapi.yml +++ b/.github/workflows/webapi.yml @@ -15,10 +15,10 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.3.0 - name: Set up .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3.0.3 with: dotnet-version: '6.0.x' include-prerelease: true @@ -30,7 +30,7 @@ jobs: run: dotnet publish ./src/ServerManager.WebApplication/ServerManager.WebApplication.csproj -c Release -o ${{env.DOTNET_ROOT}}/webapi - name: Upload artifact for deployment job - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3.1.2 with: name: .net-app path: ${{env.DOTNET_ROOT}}/webapi @@ -45,13 +45,13 @@ jobs: steps: - name: Download artifact from build job - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3.0.2 with: name: .net-app - name: Deploy to Azure Web App id: deploy-to-webapp - uses: azure/webapps-deploy@v2 + uses: azure/webapps-deploy@v2.2.6 with: app-name: 'servermanagers' slot-name: 'Production'