mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 20:20:17 +00:00
chore(workflows): publish should upload and attest all artifacts in a single zip
This commit is contained in:
27
.github/workflows/publish.yml
vendored
27
.github/workflows/publish.yml
vendored
@@ -48,28 +48,15 @@ jobs:
|
|||||||
- name: 'assemble artifacts'
|
- name: 'assemble artifacts'
|
||||||
run: ./hack/assemble.sh
|
run: ./hack/assemble.sh
|
||||||
|
|
||||||
- name: 'upload sprout-x86_64.efi.zip artifact'
|
- name: 'upload artifacts'
|
||||||
id: upload-sprout-x86_64-efi
|
id: upload
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
||||||
with:
|
with:
|
||||||
name: sprout-x86_64.efi.zip
|
name: artifacts
|
||||||
path: target/assemble/sprout-x86_64.efi
|
path: target/assemble/*
|
||||||
|
|
||||||
- name: 'upload sprout-aarch64.efi.zip artifact'
|
- name: 'attest artifacts'
|
||||||
id: upload-sprout-aarch64-efi
|
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
|
||||||
with:
|
|
||||||
name: sprout-aarch64.efi.zip
|
|
||||||
path: target/assemble/sprout-aarch64.efi
|
|
||||||
|
|
||||||
- name: 'attest sprout-x86_64.efi.zip artifact'
|
|
||||||
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
|
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
|
||||||
with:
|
with:
|
||||||
subject-name: sprout-x86_64.efi.zip
|
subject-name: artifacts.zip
|
||||||
subject-digest: "sha256:${{ steps.upload-sprout-x86_64-efi.outputs.artifact-digest }}"
|
subject-digest: "sha256:${{ steps.upload.outputs.artifact-digest }}"
|
||||||
|
|
||||||
- name: 'attest sprout-aarch64.efi.zip artifact'
|
|
||||||
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
|
|
||||||
with:
|
|
||||||
subject-name: sprout-aarch64.efi.zip
|
|
||||||
subject-digest: "sha256:${{ steps.upload-sprout-aarch64-efi.outputs.artifact-digest }}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user