Skip to content

Commit

Permalink
👷 Github Action artifact download bug workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Jan 24, 2025
1 parent 3cb48df commit 82e0740
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,12 @@ jobs:

# Download all artifacts from the 4 Docker image builds
- uses: actions/download-artifact@v4
with:
# `pattern:` is a workaround to an artifact upload incompatibility with docker/build-push-action@v6
# Otherwise, without `pattern:` the default of all artifacts would occur just as with this glob
# https://github.com/docker/build-push-action/issues/1167
pattern: "madsciencelab*"
path: artifacts

# Capture the SHA string
- name: 'Git commit short SHA as environment variable'
Expand All @@ -329,5 +335,4 @@ jobs:
commit: ${{ github.sha }}
tag: ${{ env.SHA_SHORT }}
name: Prerelease-${{ env.SHA_SHORT }}
artifacts: "**/Dockerfile,**/welcome"

artifacts: "artifacts/**/Dockerfile,artifacts/**/welcome"

0 comments on commit 82e0740

Please sign in to comment.