diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca013ac..8e030a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup .NET 8.0.x - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x @@ -42,9 +42,9 @@ jobs: environment: production steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup .NET 8.0.x - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x @@ -60,12 +60,12 @@ jobs: CMS_OAUTH_CLIENT_SECRET: ${{ secrets.CMS_OAUTH_CLIENT_SECRET }} - name: Login with Azure CLI - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Run ARM deploy - uses: azure/arm-deploy@v1 + uses: azure/arm-deploy@v2 with: subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION }} resourceGroupName: ${{ secrets.AZURE_RG }} @@ -73,7 +73,7 @@ jobs: deploymentMode: Validate - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.1 + uses: actions/upload-artifact@v4 with: name: arm-template path: Azure/arm-template.json @@ -89,28 +89,28 @@ jobs: name: arm-template - name: Login with Azure CLI - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Run ARM deploy - uses: azure/arm-deploy@v1 + uses: azure/arm-deploy@v2 with: subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION }} resourceGroupName: ${{ secrets.AZURE_RG }} template: arm-template.json - name: Setup .NET 8.0.x - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x - name: Login with Azure CLI - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: functionsapp path: deploy