Skip to content

Commit

Permalink
Merge pull request #27 from SiaFoundation/nate/sign-windows-releases
Browse files Browse the repository at this point in the history
Sign windows releases
  • Loading branch information
n8maninger authored Sep 22, 2023
2 parents 9e5ee64 + 828c205 commit 44447df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ jobs:
- name: Setup
shell: bash
run: |
dotnet tool install --global AzureSignTool
go generate ./...
- name: Build amd64
env:
Expand All @@ -199,6 +200,7 @@ jobs:
mkdir -p release
ZIP_OUTPUT=release/walletd_${GOOS}_${GOARCH}.zip
go build -tags='netgo' -trimpath -o bin/ -a -ldflags '-s -w -linkmode external -extldflags "-static"' ./cmd/walletd
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 bin/walletd.exe
cp README.md LICENSE bin/
7z a $ZIP_OUTPUT ./bin/*
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 44447df

Please sign in to comment.