Skip to content

Commit fe880a3

Browse files
authored
Ensure signed RPMs have attestations
Thanks to @malancas for highlighting issue ordering of RPM signing and attestations! Now, all artifacts should have attestations appropriately generated
1 parent faef2dd commit fe880a3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/deployment.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,6 @@ jobs:
277277
rm -rf dist
278278
mkdir dist
279279
mv -v {linux,macos,windows}/gh_* dist/
280-
- name: Attest release artifacts
281-
if: inputs.environment == 'production'
282-
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
283-
with:
284-
subject-path: "dist/gh_*"
285280
- name: Install packaging dependencies
286281
run: sudo apt-get install -y rpm reprepro
287282
- name: Set up GPG
@@ -302,6 +297,11 @@ jobs:
302297
run: |
303298
cp script/rpmmacros ~/.rpmmacros
304299
rpmsign --addsign dist/*.rpm
300+
- name: Attest release artifacts
301+
if: inputs.environment == 'production'
302+
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
303+
with:
304+
subject-path: "dist/gh_*"
305305
- name: Run createrepo
306306
env:
307307
GPG_SIGN: ${{ inputs.environment == 'production' }}

0 commit comments

Comments
 (0)