-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
publish
: update macOS Apple Silicon nightly workflow to add nightly…
… build to zipsigned archive [skip ci]
- Loading branch information
1 parent
531acbb
commit b7e7ae4
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,15 +100,31 @@ jobs: | |
shell: bash | ||
run: | | ||
cat docs/publishing_assets/README.txt docs/publishing_assets/qsv-${{ matrix.job.target }}.txt > qsv-${{ needs.analyze-tags.outputs.previous-tag }}/README | ||
- name: install zipsign | ||
run: | | ||
cargo install zipsign | ||
- name: Fetch zipsign private key | ||
uses: mobiledevops/secret-to-file-action@v1 | ||
with: | ||
base64-encoded-secret: ${{ secrets.QSV_ZIPSIGN_PRIV_KEY }} | ||
filename: "qsvpriv.key" | ||
is-executable: false | ||
working-directory: "." | ||
- name: Download latest release zip | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: "jqnatividad/qsv" | ||
latest: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
fileName: qsv-${{ needs.analyze-tags.outputs.previous-tag }}-${{ matrix.job.target }}.zip | ||
- name: remove zipsign signature from zip archive | ||
run: | | ||
zipsign unsign zip qsv-${{ needs.analyze-tags.outputs.previous-tag }}-${{ matrix.job.target }}.zip | ||
- name: add/update nightly files to zip | ||
run: 7zz u -tzip qsv-${{ needs.analyze-tags.outputs.previous-tag }}-${{ matrix.job.target }}.zip ./qsv-${{ needs.analyze-tags.outputs.previous-tag }}/* -mx=9 -mmt=on | ||
- name: re-zipsign zip archive | ||
run: | | ||
zipsign sign zip qsv-${{ needs.analyze-tags.outputs.previous-tag }}-${{ matrix.job.target }}.zip qsvpriv.key | ||
- name: Upload zipped binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
|