|
3 | 3 | push: |
4 | 4 | tags: ['[0-9]+.[0-9]+.[0-9]+'] |
5 | 5 |
|
6 | | -# the only workflow with secrets: signing on Azure, see build.yml for regular builds |
| 6 | +# publishes unsigned binaries: the app that ships the updater signs it in its own build; see build.yml for regular builds |
7 | 7 | defaults: |
8 | 8 | run: |
9 | 9 | shell: bash |
10 | 10 |
|
11 | 11 | jobs: |
12 | 12 | build: |
13 | | - name: Build, Sign and Attest |
| 13 | + name: Build and Attest |
14 | 14 | runs-on: windows-2022 |
15 | 15 | permissions: |
16 | 16 | contents: read |
|
38 | 38 | - name: Build arm64 |
39 | 39 | shell: cmd |
40 | 40 | run: .\build.cmd arm64 ${{ github.ref_name }} |
41 | | - - name: Sign EXEs with Azure Trusted Signing |
42 | | - uses: azure/artifact-signing-action@c7ab2a863ab5f9a846ddb8265964877ef296ee82 # v2.0.0 |
43 | | - with: |
44 | | - files: | |
45 | | - ${{ github.workspace }}\target\win-updater-x64.exe |
46 | | - ${{ github.workspace }}\target\win-updater-arm64.exe |
47 | | - append-signature: false |
48 | | - description: Cryptomator Updater |
49 | | - description-url: https://github.com/cryptomator/win-updater |
50 | | - azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }} |
51 | | - azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} |
52 | | - azure-client-secret: ${{ secrets.AZURE_CLIENT_SECRET }} |
53 | | - signing-account-name: cryptomatorSigning |
54 | | - certificate-profile-name: production |
55 | | - endpoint: https://weu.codesigning.azure.net/ |
56 | | - timestamp-rfc3161: http://timestamp.acs.microsoft.com |
57 | | - timestamp-digest: SHA256 |
58 | | - exclude-environment-credential: false |
59 | | - exclude-workload-identity-credential: true |
60 | | - exclude-managed-identity-credential: true |
61 | | - exclude-shared-token-cache-credential: true |
62 | | - exclude-visual-studio-credential: true |
63 | | - exclude-visual-studio-code-credential: true |
64 | | - exclude-azure-cli-credential: true |
65 | | - exclude-azure-powershell-credential: true |
66 | | - exclude-azure-developer-cli-credential: true |
67 | | - exclude-interactive-browser-credential: true |
68 | 41 | - name: Calculate checksums |
69 | | - # after signing, as signing changes the files |
70 | 42 | working-directory: target |
71 | 43 | run: sha256sum win-updater-x64.exe win-updater-arm64.exe > SHA256SUMS |
72 | 44 | - name: Attest |
|
0 commit comments