This is an Qt specific Github action to allow Github jobs to sign archives using our internal CI Infrastructure.
You need to setup a Jenkins token for your Jenkins user via the Jenkins UI. This token will be used to authenticate the github action with Jenkins.
Go to your User settings -> Security -> API Token -> Add new token.
Add the URL to the Jenkins server, your username and the token as secrets to your github repository.
Then you can setup the github action like this:
- name: Sign archives
uses: TheQtCompanyRnD/[email protected]
with:
macos: 'path/to/macos/archive.7z'
win-x64: 'path/to/windows/x64/archive.7z'
win-arm64: 'path/to/windows/arm64/archive.7z'
jenkins-url: ${{ secrets.JENKINS_URL }}
jenkins-user: ${{ secrets.JENKINS_USER }}
jenkins-token: ${{ secrets.JENKINS_TOKEN }}
You can get the path to the signed archives via the outputs:
- name: Print outputs
run: |
echo "macos: ${{ steps.sign.outputs.macos }}"
echo "win-x64: ${{ steps.sign.outputs.win-x64 }}"
echo "win-arm64: ${{ steps.sign.outputs.win-arm64 }}"