File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -294,12 +294,28 @@ jobs:
294294 cd ../lnav-build
295295 export PREFIX=$PWD/${{ env.LNAV_BASENAME }}
296296 $PREFIX/bin/lnav.exe -n ../lnav/test/logfile_multiline.0
297- - name : " ⬆️ Upload a Build Artifact "
297+ - name : upload-unsigned-artifact
298298 uses : actions/upload-artifact@v4
299299 with :
300300 name : lnav-windows-${{ matrix.arch }}.zip
301301 path : ${{ env.LNAV_ZIPNAME }}
302302 if-no-files-found : error
303+ - name : sign
304+ uses : signpath/github-action-submit-signing-request@v1.1
305+ env :
306+ # select release-signing policy for main and release branches
307+ SIGNPATH_SIGNING_POLICY_SLUG : |
308+ ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
309+ && 'test-signing'
310+ || 'test-signing' }}
311+ with :
312+ api-token : ' ${{ secrets.SIGNPATH_API_TOKEN }}'
313+ organization-id : ' ${{ vars.SIGNPATH_ORGANIZATION_ID }}'
314+ project-slug : ' lnav'
315+ signing-policy-slug : ' ${{ env.SIGNPATH_SIGNING_POLICY_SLUG }}'
316+ github-artifact-id : " ${{steps.upload-unsigned-artifact.outputs.artifact-id}}"
317+ wait-for-completion : true
318+ output-artifact-directory : ' lnav-signed'
303319 - name : Upload windows archive
304320 uses : actions/upload-release-asset@v1.0.2
305321 if : ${{ inputs.upload_url != '' }}
You can’t perform that action at this time.
0 commit comments