Skip to content

Commit

Permalink
fix: find attestation after download
Browse files Browse the repository at this point in the history
Signed-off-by: Asra Ali <[email protected]>
  • Loading branch information
asraa committed Jun 26, 2023
1 parent f9ef741 commit a32df1b
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
name=$(find "${FOLDER}"/ -type f | head -1)
cp "${name}" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
name=$(find "${FOLDER}"/ -type f | head -1)
cp "${name}" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
name=$(find "${FOLDER}"/ -type f | head -1)
cp "${name}" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
name=$(find "${FOLDER}"/ -type f | head -1)
cp "${name}" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
name=$(find "${FOLDER}"/ -type f | head -1)
cp "${name}" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
ls
name=$(find "${FOLDER}"/ -type f | head -1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
name=$(find "${FOLDER}"/ -type f | head -1)
cp "${name}" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ jobs:
- uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
with:
name: ${{ needs.build.outputs.attestations-download-name }}
path: attestations
- name: Get attestation
id: att
env:
FOLDER: ${{ needs.build.outputs.attestations-download-name }}
FOLDER: attestations
run: |
name=$(find "${FOLDER}"/ -type f | head -1)
cp "${name}" .
Expand Down

0 comments on commit a32df1b

Please sign in to comment.