-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: ensure bicep is upgraded (#1593)
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue(s) - #{issue number} ## Verification - [ ] **Your** code builds clean without any errors or warnings - [ ] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable)
- Loading branch information
Showing
5 changed files
with
37 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: 'Azure Login with Bicep Upgrade' | ||
description: 'Login to Azure and upgrade Bicep CLI' | ||
|
||
inputs: | ||
client-id: | ||
description: 'Azure Client ID' | ||
required: true | ||
tenant-id: | ||
description: 'Azure Tenant ID' | ||
required: true | ||
subscription-id: | ||
description: 'Azure Subscription ID' | ||
required: true | ||
env: | ||
AZ_CLI_VERSION: 2.67.0 | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: OIDC Login to Azure Public Cloud | ||
uses: azure/login@v2 | ||
with: | ||
client-id: ${{ inputs.client-id }} | ||
tenant-id: ${{ inputs.tenant-id }} | ||
subscription-id: ${{ inputs.subscription-id }} | ||
|
||
- name: Upgrade Azure Bicep | ||
shell: bash | ||
run: az bicep upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters