mirror of
https://github.com/azure/login.git
synced 2026-03-15 09:20:56 -04:00
Update azure-login-pr-check.yml
This commit is contained in:
12
.github/workflows/azure-login-pr-check.yml
vendored
12
.github/workflows/azure-login-pr-check.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout from PR branch
|
- name: Checkout from PR branch
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# Using 12.x version as an example
|
# Using 12.x version as an example
|
||||||
- name: Set Node.js 12.x for GitHub Action
|
- name: Set Node.js 12.x for GitHub Action
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
creds: ${{ secrets.AZURE_CREDENTIALS_NO_SUB }}
|
creds: ${{ secrets.AZURE_CREDENTIALS_NO_SUB }}
|
||||||
allow-no-subscriptions: true
|
allow-no-subscriptions: true
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
az account show
|
az account show
|
||||||
@@ -62,9 +62,9 @@ jobs:
|
|||||||
enable-AzPSSession: true
|
enable-AzPSSession: true
|
||||||
allow-no-subscriptions: true
|
allow-no-subscriptions: true
|
||||||
|
|
||||||
- uses: azure/powershell@v1
|
- uses: azure/powershell@v1
|
||||||
with:
|
with:
|
||||||
inlineScript: "Get-AzContext"
|
inlineScript: "Get-AzContext"
|
||||||
azPSVersion: "latest"
|
azPSVersion: "latest"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user