housekeeping: add signing
This commit is contained in:
Родитель
2def01c514
Коммит
a17731ba86
|
@ -87,7 +87,7 @@ jobs:
|
|||
uses: actions/setup-java@v4.2.2
|
||||
with:
|
||||
distribution: 'microsoft'
|
||||
java-version: '11'
|
||||
java-version: '21'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -169,6 +169,19 @@ jobs:
|
|||
uses: codecov/codecov-action@v4
|
||||
if: inputs.performTests == true
|
||||
|
||||
- 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 }}
|
||||
|
||||
- name: Sign the NuGet Packages
|
||||
run: |
|
||||
dotnet tool install --global AzureTrustedSignTool
|
||||
dotnet tool install --global sign --prerelease
|
||||
AzureTrustedSignTool sign --folder ./ --searchpattern *.nupkg --accountname ${{ secrets.SIGN_ACCOUNT_NAME }} --profilename ${{ secrets.SIGN_PROFILE_NAME }}
|
||||
|
||||
- name: Create NuGet Artifacts
|
||||
if: inputs.createArtifacts == true
|
||||
uses: actions/upload-artifact@master
|
||||
|
|
Загрузка…
Ссылка в новой задаче