Skip to content

Commit 5e5bcff

Browse files

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/matrix_multi_build_and_release_qbt_workflow_files.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ on:
1818
type: choice
1919
options: ["1", "2", "3", "4", "5", "6", "7", "8", "9"]
2020

21+
permissions:
22+
id-token: write
23+
contents: read
24+
attestations: write
25+
2126
concurrency:
2227
group: ${{ github.workflow }}-${{ github.ref }}
2328
cancel-in-progress: true
@@ -147,6 +152,12 @@ jobs:
147152
if: env.disable_qt5 != 'yes' # When qBittorrent v5 is released, remove this
148153
run: docker exec -w /root/${{ env.qbt_build_dir }}/completed multiarch mv -f qbittorrent-nox ${{ matrix.qbt_cross_name }}-${{ matrix.qbt_qt_version_name }}qbittorrent-nox
149154

155+
- name: Generate artifact attestation ${{ github.event.inputs.distinct_id }}
156+
if: env.disable_qt5 != 'yes' # When qBittorrent v5 is released, remove this
157+
uses: actions/attest-build-provenance@v1
158+
with:
159+
subject-path: "${{ env.qbt_build_dir }}/completed/${{ matrix.qbt_cross_name }}-${{ matrix.qbt_qt_version_name }}qbittorrent-nox"
160+
150161
- name: Docker - Release Info ${{ github.event.inputs.distinct_id }}
151162
if: env.disable_qt5 != 'yes' # When qBittorrent v5 is released, remove this
152163
run: docker exec -w /root/${{ env.qbt_build_dir }}/release_info multiarch bash -c 'mv *.md *.json '/root/${{ env.qbt_build_dir }}/completed''

0 commit comments

Comments
 (0)