diff --git a/.github/workflows/application.yml b/.github/workflows/application.yml index 7e5c3a8..2583a34 100644 --- a/.github/workflows/application.yml +++ b/.github/workflows/application.yml @@ -105,7 +105,7 @@ jobs: - name: Get Connection String uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | echo "CONNECTION_STRING=$(az webapp config connection-string list --resource-group ${{ vars.RESOURCE_GROUP }} --name ${{ vars.WEBAPP }} --slot ${{ vars.DEPLOYMENT_SLOT }} --query [].value --output tsv)" >> "$GITHUB_ENV" @@ -118,7 +118,7 @@ jobs: - name: Deploy Web App uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | az webapp deploy --resource-group ${{ vars.RESOURCE_GROUP }} --name ${{ vars.WEBAPP }} --slot ${{ vars.DEPLOYMENT_SLOT }} --src-path app.zip --clean @@ -152,7 +152,7 @@ jobs: - name: Get Connection String uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | echo "CONNECTION_STRING=$(az webapp config connection-string list --resource-group ${{ vars.RESOURCE_GROUP }} --name ${{ vars.WEBAPP }} --query [].value --output tsv)" >> "$GITHUB_ENV" @@ -165,6 +165,6 @@ jobs: - name: Swap Staging With Production uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | az webapp deployment slot swap --resource-group ${{ vars.RESOURCE_GROUP }} --name ${{ vars.WEBAPP }} --slot ${{ vars.DEPLOYMENT_SLOT }} diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml index 62fde72..c7a16c0 100644 --- a/.github/workflows/infrastructure.yml +++ b/.github/workflows/infrastructure.yml @@ -30,7 +30,7 @@ jobs: - name: Lint Bicep Files uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | az bicep lint --file infrastructure/main.bicep az bicep lint --file infrastructure/main.bicepparam @@ -38,7 +38,7 @@ jobs: - name: Build Bicep Files uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | az bicep build --file infrastructure/main.bicep --outfile infrastructure/main.json az bicep build-params --file infrastructure/main.bicepparam --outfile infrastructure/main.parameters.json @@ -76,7 +76,7 @@ jobs: - name: Create Resource Group uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | az group create --name ${{ vars.RESOURCE_GROUP }} --location ${{ vars.LOCATION }} @@ -126,7 +126,7 @@ jobs: - name: Create Resource Group uses: azure/cli@v2 with: - azcliversion: latest + azcliversion: 2.63.0 inlineScript: | az group create --name ${{ vars.RESOURCE_GROUP }} --location ${{ vars.LOCATION }}