Skip to content

Commit 1f322ff

Browse files
committed
chore(workflows): publish should upload and attest all artifacts in a single zip
1 parent 0bb7d7c commit 1f322ff

1 file changed

Lines changed: 7 additions & 20 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,15 @@ jobs:
4848
- name: 'assemble artifacts'
4949
run: ./hack/assemble.sh
5050

51-
- name: 'upload sprout-x86_64.efi.zip artifact'
52-
id: upload-sprout-x86_64-efi
51+
- name: 'upload artifacts'
52+
id: upload
5353
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5454
with:
55-
name: sprout-x86_64.efi.zip
56-
path: target/assemble/sprout-x86_64.efi
55+
name: artifacts
56+
path: target/assemble/*
5757

58-
- name: 'upload sprout-aarch64.efi.zip artifact'
59-
id: upload-sprout-aarch64-efi
60-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
61-
with:
62-
name: sprout-aarch64.efi.zip
63-
path: target/assemble/sprout-aarch64.efi
64-
65-
- name: 'attest sprout-x86_64.efi.zip artifact'
66-
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
67-
with:
68-
subject-name: sprout-x86_64.efi.zip
69-
subject-digest: "sha256:${{ steps.upload-sprout-x86_64-efi.outputs.artifact-digest }}"
70-
71-
- name: 'attest sprout-aarch64.efi.zip artifact'
58+
- name: 'attest artifacts'
7259
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
7360
with:
74-
subject-name: sprout-aarch64.efi.zip
75-
subject-digest: "sha256:${{ steps.upload-sprout-aarch64-efi.outputs.artifact-digest }}"
61+
subject-name: artifacts.zip
62+
subject-digest: "sha256:${{ steps.upload.outputs.artifact-digest }}"

0 commit comments

Comments
 (0)