diff --git a/.github/workflows/main_virtualteacher-webapp.yml b/.github/workflows/main_virtualteacher-webapp.yml index 432fa60..4e99a0d 100644 --- a/.github/workflows/main_virtualteacher-webapp.yml +++ b/.github/workflows/main_virtualteacher-webapp.yml @@ -19,7 +19,7 @@ jobs: - name: Set up .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.x' + dotnet-version: 8.0.402 - name: Build with dotnet run: dotnet build --configuration Release @@ -39,21 +39,21 @@ jobs: environment: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - permissions: - id-token: write #This is required for requesting the JWT + permissions: + id-token: write #This is required for requesting the JWT steps: - name: Download artifact from build job uses: actions/download-artifact@v4 with: name: .net-app - - - name: Login to Azure - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_792058BD16FD4706A5045C26B9735E66 }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B3C11B7B54A44E1DBEAC6912713459E6 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_40A7088D577B47A7987835F391DF2BC5 }} + + - name: Login to Azure + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_792058BD16FD4706A5045C26B9735E66 }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B3C11B7B54A44E1DBEAC6912713459E6 }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_40A7088D577B47A7987835F391DF2BC5 }} - name: Deploy to Azure Web App id: deploy-to-webapp