From 7d251ea274be7799665fcd91f107f9a0bb91249f Mon Sep 17 00:00:00 2001 From: Sanders Lauture Date: Tue, 1 Oct 2024 01:57:56 -0700 Subject: [PATCH] Update main_seattle-carsinbikelanes.yml --- .github/workflows/main_seattle-carsinbikelanes.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main_seattle-carsinbikelanes.yml b/.github/workflows/main_seattle-carsinbikelanes.yml index bd79ed6..4fb5ad3 100644 --- a/.github/workflows/main_seattle-carsinbikelanes.yml +++ b/.github/workflows/main_seattle-carsinbikelanes.yml @@ -14,13 +14,12 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: '7.0.x' - include-prerelease: true - name: Build with dotnet run: dotnet build SeattleCarsInBikeLanes/SeattleCarsInBikeLanes.csproj --configuration Release @@ -35,7 +34,7 @@ jobs: run: dotnet publish SeattleCarsInBikeLanes/SeattleCarsInBikeLanes.csproj -c Release -r win-x64 --self-contained true -o ${{env.DOTNET_ROOT}}/myapp - 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 @@ -49,13 +48,13 @@ jobs: steps: - name: Download artifact from build job - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: .net-app - name: Deploy to Azure Web App id: deploy-to-webapp - uses: azure/webapps-deploy@v2 + uses: azure/webapps-deploy@v3 with: app-name: 'seattle-carsinbikelanes' slot-name: 'Production'