Skip to content
Myr

Merge pull request #1941 from tmccombs/fix-attest

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix attest

authored by Thayne McCombs · committed by GitHub · parents d6b44b8, 45646e2 · Browse files · 1 file+6 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−10 removed

  • other:+6 added−10 removed

1 file+6 added−10 removed

modified:.github/workflows/CICD.yml+6 added-10 removed
257 unmodified lines
258 uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7259 with:260 name: ${{ steps.package.outputs.PKG_NAME }}261 path: ${{ steps.package.outputs.PKG_PATH }}262 compression-level: 0 # tarball is already compressed263264 - name: "Artifact upload: Debian package"265 id: upload-deb266 uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7267 if: steps.debian-package.outputs.DPKG_NAME268 with:269 name: ${{ steps.debian-package.outputs.DPKG_NAME }}270 path: ${{ steps.debian-package.outputs.DPKG_PATH }}271 compression-level: 0 # deb files are already compressed272273 - name: Check for release274 id: is-release275 shell: bash276 run: |277 unset IS_RELEASE ; if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true' ; fi278 echo "IS_RELEASE=${IS_RELEASE}" >> $GITHUB_OUTPUT279278 - name: "Attest artifact: tarball"280 - name: "Attest artifacts"281 uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4282 if: steps.is-release.outputs.IS_RELEASE283 with:282 subject-name: ${{ steps.package.outputs.PKG_NAME }}283 subject-digest: sha256:${{ steps.upload-tarball.outputs.artifact-digest }}284 subject-path: |285 ${{ steps.package.outputs.PKG_PATH }}286 ${{ steps.debian-package.outputs.DPKG_PATH }}287285 - name: "Attest artifact: Debian package"286 uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4287 if: 'steps.is-release.outputs.IS_RELEASE && steps.debian-package.outputs.DPKG_NAME'288 with:289 subject-name: ${{ steps.debian-package.outputs.DPKG_NAME }}290 subject-digest: sha256:${{ steps.upload-deb.outputs.artifact-digest }}291288 - name: Publish archives and packages289 uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1290 if: steps.is-release.outputs.IS_RELEASE291 with:
17 unmodified lines