Further refinements to az login

This commit is contained in:
Glenn Watson 2024-09-03 22:38:48 +10:00
Родитель 674edfd852
Коммит f6cd3aedae
1 изменённых файлов: 9 добавлений и 7 удалений

16
.github/workflows/workflow-common-release.yml поставляемый
Просмотреть файл

@ -80,7 +80,15 @@ jobs:
vs update release Enterprise
vs modify release Enterprise +mobile +desktop +uwp +web
vs where release
- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
enable-AzPSSession: true
- name: Checkout
uses: actions/checkout@v4
with:
@ -121,12 +129,6 @@ jobs:
run: dotnet pack --no-restore --configuration ${{ inputs.configuration }} ${{ inputs.solutionFile }}
working-directory: ${{ inputs.srcFolder }}
- name: Azure login
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CRED }}
enable-AzPSSession: true
- name: Sign the NuGet Packages
run: |
dotnet tool install --global AzureTrustedSignTool