Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/validate_bicep.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

# set the bicep binary name based on the OS
if os.name == 'nt':
bicep_bin = 'rad-bicep.exe'
bicep_bin = 'bicep.exe'
home_path = os.environ['USERPROFILE']
else:
bicep_bin = 'rad-bicep'
bicep_bin = 'bicep'
home_path = os.environ['HOME']

# set the default Bicep path based on the runner
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate-bicep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:

- name: Setup and verify bicep CLI
run: |
curl -Lo rad-bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64
chmod +x ./rad-bicep
./rad-bicep --version
curl -Lo bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64
chmod +x ./bicep
./bicep --version

- name: Verify Bicep files
run: python ./.github/scripts/validate_bicep.py
Loading