File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -318,9 +318,29 @@ jobs:
318318 cargo wix --no-build --nocapture --target ${{ matrix.target }}
319319 Move-Item -Path target\wix\sniffnet*.msi -Destination .\artifacts\Sniffnet_Windows_${{ matrix.arch }}.msi
320320
321- - name : Upload package artifacts
321+ - name : Upload unsigned package artifacts
322+ id : upload-unsigned-artifact
323+ uses : actions/upload-artifact@v4
324+ with :
325+ name : msi-${{ matrix.arch }}
326+ path : artifacts/
327+ if-no-files-found : error
328+
329+ - name : Sign package artifacts
330+ uses : signpath/github-action-submit-signing-request@v1.1
331+ with :
332+ api-token : ' ${{ secrets.SIGNPATH_API_TOKEN }}'
333+ organization-id : ' 3b533e02-73c3-4908-a018-d09a34498a6a'
334+ project-slug : ' sniffnet'
335+ signing-policy-slug : ' test-signing'
336+ github-artifact-id : ' ${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
337+ wait-for-completion : true
338+ output-artifact-directory : ' ./artifacts'
339+
340+ - name : Upload signed package artifacts (overwrite unsigned)
322341 uses : actions/upload-artifact@v4
323342 with :
324343 name : msi-${{ matrix.arch }}
325344 path : artifacts/
326345 if-no-files-found : error
346+ overwrite : true
You can’t perform that action at this time.
0 commit comments