-
-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sign the NuGet package again with dotnet sign.
- Loading branch information
Showing
2 changed files
with
29 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -191,25 +191,6 @@ jobs: | |
run: './build.Magick.NET.cmd ${{ matrix.quantumName }} "${{ matrix.platformName }}" Release' | ||
working-directory: build/windows | ||
|
||
- name: 'Azure CLI login with federated credential' | ||
if: github.event_name != 'pull_request' | ||
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 binaries | ||
if: github.event_name != 'pull_request' | ||
uses: azure/[email protected] | ||
with: | ||
endpoint: https://eus.codesigning.azure.net/ | ||
trusted-signing-account-name: ImageMagick | ||
certificate-profile-name: ImageMagick | ||
files-folder: 'src/Magick.NET/bin' | ||
files-folder-filter: dll | ||
files-folder-recurse: true | ||
|
||
- name: Set NuGet version | ||
run: ./set.version.ps1 | ||
working-directory: publish | ||
|
@@ -218,6 +199,19 @@ jobs: | |
run: './publish.cmd ${{ matrix.quantumName }} "${{ matrix.platformName }}"' | ||
working-directory: publish | ||
|
||
- name: Azure CLI login with federated credential | ||
if: github.event_name != 'pull_request' | ||
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 NuGet package | ||
if: ${{ github.event_name != 'pull_request' }} | ||
run: sign code trusted-signing --trusted-signing-account ImageMagick --trusted-signing-certificate-profile ImageMagick --trusted-signing-endpoint https://eus.codesigning.azure.net --verbosity information *.nupkg | ||
working-directory: publish/output | ||
|
||
- name: Upload library | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -260,25 +254,6 @@ jobs: | |
run: './build.Magick.NET.cmd "Q8" "Any CPU" Release' | ||
working-directory: build/windows | ||
|
||
- name: 'Azure CLI login with federated credential' | ||
if: github.event_name != 'pull_request' | ||
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 binaries | ||
if: github.event_name != 'pull_request' | ||
uses: azure/[email protected] | ||
with: | ||
endpoint: https://eus.codesigning.azure.net/ | ||
trusted-signing-account-name: ImageMagick | ||
certificate-profile-name: ImageMagick | ||
files-folder: 'src/Magick.NET.${{ matrix.libraryName }}/bin' | ||
files-folder-filter: dll | ||
files-folder-recurse: true | ||
|
||
- name: Set NuGet version | ||
run: ./set.version.ps1 | ||
working-directory: publish | ||
|
@@ -287,6 +262,19 @@ jobs: | |
run: './publish.library.cmd "Magick.NET.${{ matrix.libraryName }}"' | ||
working-directory: publish | ||
|
||
- name: Azure CLI login with federated credential | ||
if: github.event_name != 'pull_request' | ||
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 NuGet package | ||
if: ${{ github.event_name != 'pull_request' }} | ||
run: sign code trusted-signing --trusted-signing-account ImageMagick --trusted-signing-certificate-profile ImageMagick --trusted-signing-endpoint https://eus.codesigning.azure.net --verbosity information *.nupkg | ||
working-directory: publish/output | ||
|
||
- name: Upload library | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
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