Skip to content

Commit

Permalink
Make sure there is no leftover from previous runs
Browse files Browse the repository at this point in the history
  • Loading branch information
niconosenzo committed Oct 17, 2024
1 parent 1500803 commit 43b44a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
- name: Export digest
run: |
mkdir -p /tmp/digests
rm -rf /tmp/digests/*
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
Expand All @@ -145,6 +146,11 @@ jobs:
needs:
- mp-build
steps:
- name: Cleanup digests path
run: |
mkdir -p /tmp/digests
rm -rf /tmp/digests/*
- name: Download digests
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 43b44a5

Please sign in to comment.