fix(ci): attest releases and validate offline examples

This commit is contained in:
yeasy
2026-07-10 19:29:30 -07:00
parent daa6661b2b
commit ee0fbd7d38
15 changed files with 11967 additions and 59 deletions
+10
View File
@@ -131,6 +131,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
id-token: write
attestations: write
needs: build
runs-on: ubuntu-latest
steps:
@@ -143,6 +145,14 @@ jobs:
- name: Recheck artifact checksums
run: (cd dist && sha256sum -c SHA256SUMS)
- name: Attest tagged release artifacts
uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1
with:
subject-path: |
dist/docker_practice-*.pdf
dist/docker_practice-*.html
dist/SHA256SUMS
- name: Create GitHub release
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
with: