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

Fix attestation job by providing both artefacts #235

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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