|
|
|
@ -8,12 +8,6 @@ name: Publish Releases |
|
|
|
jobs: |
|
|
|
build_publish: |
|
|
|
name: Publishing Tasks |
|
|
|
|
|
|
|
permissions: |
|
|
|
id-token: write |
|
|
|
contents: read |
|
|
|
attestations: write |
|
|
|
|
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
target: |
|
|
|
@ -90,25 +84,6 @@ jobs: |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# Support verifiable builds |
|
|
|
- name: Calculate hashes |
|
|
|
shell: bash |
|
|
|
run: | |
|
|
|
echo "--- BEGIN SHA256SUM ---" |
|
|
|
sha256sum ./mypubdir4/* |
|
|
|
echo "--- END SHA256SUM ---" |
|
|
|
|
|
|
|
- name: Upload artifacts |
|
|
|
uses: actions/upload-artifact@v4 |
|
|
|
with: |
|
|
|
name: bin |
|
|
|
path: mypubdir4/* |
|
|
|
|
|
|
|
- name: Generate artifact attestation |
|
|
|
uses: actions/attest-build-provenance@v1 |
|
|
|
with: |
|
|
|
subject-path: mypubdir4/* |
|
|
|
|
|
|
|
- name: Publish |
|
|
|
uses: softprops/action-gh-release@v1 |
|
|
|
env: |
|
|
|
|