Skip to content

Commit

Permalink
add sign by tag
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Jan 10, 2024
1 parent 7527c8c commit 3085207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
- name: Sign & zip
shell: bash
run: |
if [ ${{github.ref}} == 'refs/heads/develop' ] || [ ${{github.ref}} == 'refs/heads/main' ]
if [ ${{github.ref}} == 'refs/heads/develop' ] || [ ${{github.ref}} == 'refs/heads/main' ] || [${{github.ref}} ==*"refs/tags/"* ]
then
dotnet tool install --global AzureSignTool
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v PublishWindows/rdmp.exe
Expand Down

0 comments on commit 3085207

Please sign in to comment.