From 0dfda7b7dc6578e743379e35ee018d0aed5c21fc Mon Sep 17 00:00:00 2001 From: Gordon Byers Date: Tue, 21 Mar 2023 12:03:53 +0000 Subject: [PATCH] CI: Bicep install on runners - azcli workaround (#554) * Update release.yml * Update ghpagesTest.yml --- .github/workflows/ghpagesTest.yml | 1 + .github/workflows/release.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ghpagesTest.yml b/.github/workflows/ghpagesTest.yml index 43e844bda..8c3f06a08 100644 --- a/.github/workflows/ghpagesTest.yml +++ b/.github/workflows/ghpagesTest.yml @@ -121,6 +121,7 @@ jobs: if: ${{ github.event.pull_request.head.repo.fork }} shell: pwsh run: | + az config set bicep.use_binary_from_path=False az bicep install - name: Bicep build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3928d073e..6b2f43be3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,7 +94,9 @@ jobs: - name: Install Bicep shell: pwsh - run: az bicep install + run: | + az config set bicep.use_binary_from_path=False + az bicep install - name: Bicep build shell: pwsh @@ -177,7 +179,9 @@ jobs: echo "ARTIFACTNAME=$ARTIFACTNAME" >> $Env:GITHUB_OUTPUT - name: Install Bicep - run: az bicep install + run: | + az config set bicep.use_binary_from_path=False + az bicep install - name: Bicep build run: |