mirror of
https://github.com/azure/login.git
synced 2026-06-06 21:17:09 +00:00
Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9dfca5820a |
4 changed files with 24 additions and 24 deletions
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
creds: ${{ secrets.AZURE_CREDENTIALS }}
|
creds: ${{ secrets.AZURE_CREDENTIALS }}
|
||||||
enable-AzPSSession: true
|
enable-AzPSSession: true
|
||||||
|
|
||||||
- uses: azure/powershell@v1
|
- uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
inlineScript: "(Get-AzContext).Environment.Name"
|
inlineScript: "(Get-AzContext).Environment.Name"
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
enable-AzPSSession: true
|
enable-AzPSSession: true
|
||||||
allow-no-subscriptions: true
|
allow-no-subscriptions: true
|
||||||
|
|
||||||
- uses: azure/powershell@v1
|
- uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
inlineScript: "(Get-AzContext).Environment.Name"
|
inlineScript: "(Get-AzContext).Environment.Name"
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
|
|
@ -87,7 +87,7 @@ jobs:
|
||||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTIONID }}
|
subscription-id: ${{ secrets.AZURE_SUBSCRIPTIONID }}
|
||||||
enable-AzPSSession: true
|
enable-AzPSSession: true
|
||||||
|
|
||||||
- uses: azure/powershell@v1
|
- uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
inlineScript: "(Get-AzContext).Environment.Name"
|
inlineScript: "(Get-AzContext).Environment.Name"
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
enable-AzPSSession: true
|
enable-AzPSSession: true
|
||||||
allow-no-subscriptions: true
|
allow-no-subscriptions: true
|
||||||
|
|
||||||
- uses: azure/powershell@v1
|
- uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
inlineScript: "(Get-AzContext).Environment.Name"
|
inlineScript: "(Get-AzContext).Environment.Name"
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
|
|
|
||||||
6
.github/workflows/azure-login-negative.yml
vendored
6
.github/workflows/azure-login-negative.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
id: ps_3
|
id: ps_3
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: azure/powershell@v1
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -186,7 +186,7 @@ jobs:
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
id: ps_8
|
id: ps_8
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: azure/powershell@v1
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -216,7 +216,7 @@ jobs:
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
id: ps_9
|
id: ps_9
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: azure/powershell@v1
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
|
||||||
16
.github/workflows/azure-login-positive.yml
vendored
16
.github/workflows/azure-login-positive.yml
vendored
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
az vm list --output none
|
az vm list --output none
|
||||||
|
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -69,7 +69,7 @@ jobs:
|
||||||
az account show --output none
|
az account show --output none
|
||||||
|
|
||||||
- name: Run Azure PowerShell again
|
- name: Run Azure PowerShell again
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -92,7 +92,7 @@ jobs:
|
||||||
az vm list --output none
|
az vm list --output none
|
||||||
|
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -160,7 +160,7 @@ jobs:
|
||||||
az vm list --output none
|
az vm list --output none
|
||||||
|
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -183,7 +183,7 @@ jobs:
|
||||||
az account show --output none
|
az account show --output none
|
||||||
|
|
||||||
- name: Run Azure PowerShell again
|
- name: Run Azure PowerShell again
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -209,7 +209,7 @@ jobs:
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -230,7 +230,7 @@ jobs:
|
||||||
az account show --output none
|
az account show --output none
|
||||||
|
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -309,7 +309,7 @@ jobs:
|
||||||
az group list --output none
|
az group list --output none
|
||||||
|
|
||||||
- name: Run Azure PowerShell again
|
- name: Run Azure PowerShell again
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
|
||||||
10
README.md
10
README.md
|
|
@ -238,7 +238,7 @@ jobs:
|
||||||
az account show
|
az account show
|
||||||
|
|
||||||
- name: Azure PowerShell script
|
- name: Azure PowerShell script
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -325,7 +325,7 @@ jobs:
|
||||||
az account show
|
az account show
|
||||||
|
|
||||||
- name: Azure PowerShell script
|
- name: Azure PowerShell script
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -396,7 +396,7 @@ jobs:
|
||||||
az account show
|
az account show
|
||||||
|
|
||||||
- name: Azure PowerShell script
|
- name: Azure PowerShell script
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -463,7 +463,7 @@ jobs:
|
||||||
az account show
|
az account show
|
||||||
|
|
||||||
- name: Azure PowerShell script
|
- name: Azure PowerShell script
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
@ -549,7 +549,7 @@ jobs:
|
||||||
az account show
|
az account show
|
||||||
|
|
||||||
- name: Run Azure PowerShell
|
- name: Run Azure PowerShell
|
||||||
uses: azure/powershell@v2
|
uses: azure/powershell@v3
|
||||||
with:
|
with:
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue