Skip to content

Commit

Permalink
fix: download artifact based on run id
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Nov 27, 2024
1 parent 454c69f commit 1727af9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/compare-layouts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,13 @@ jobs:
# Restore the layouts from the previous job
- name: Restore the layout files from the artifact
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: actions/download-artifact@v4
uses: dawidd6/action-download-artifact@v6
with:
name: storage-layouts-${{ github.event.workflow_run.head_commit.id }}
run_id: ${{ github.event.workflow_run.id }}
- name: Debug the restored layouts
if: ${{ github.event.workflow_run.conclusion == 'success' }}
run: ls -l
- name: Extract the restored layouts
if: ${{ github.event.workflow_run.conclusion == 'success' }}
run: unzip storage-layouts.zip
Expand Down

0 comments on commit 1727af9

Please sign in to comment.