From e4c38b8dd4414fe66cc269f6c289254b47653706 Mon Sep 17 00:00:00 2001 From: Robert Folkesson Date: Wed, 23 Nov 2022 22:42:58 +0100 Subject: [PATCH] Change to ${{ env.GITHUB_WORKSPACE }} https://github.com/actions/runner/issues/2058 --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b6f0383..9f453a5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,9 +49,10 @@ jobs: uses: azure/CLI@v1 with: inlineScript: > + echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE" >> $GITHUB_ENV echo "Creating resources" - az deployment group create --resource-group ${{ env.RESOURCE_GROUP_NAME }} --template-file '/github/workspace/Azure/main.bicep' --debug + az deployment group create --resource-group ${{ env.RESOURCE_GROUP_NAME }} --template-file '${{ env.GITHUB_WORKSPACE }}/Azure/main.bicep' --debug build: runs-on: ubuntu-latest