Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Fix attestiation job by providing both artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
baluchicken committed Jun 25, 2024
1 parent 086e4f9 commit 5038abb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,15 @@ jobs:
- name: Test camblet-driver Debian package
run: sudo apt install -y ../camblet-driver_${{github.ref_name}}_all.deb

- name: Generate artifact attestation for deb package
uses: actions/attest-build-provenance@v1
with:
subject-path: '../camblet-driver_*.deb'

- name: Build camblet-driver RedHat package
run: make rpm
with:
subject-path: 'rpmbuild/RPMS/noarch/camblet-driver-*.rpm'

- name: Generate artifact attestation for rpm package
- name: Generate artifact attestation for deb and rpm packages
uses: actions/attest-build-provenance@v1
with:
subject-path: '../camblet-driver_*.deb, rpmbuild/RPMS/noarch/camblet-driver-*.rpm'

- name: Release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 5038abb

Please sign in to comment.