Skip to content

Commit

Permalink
ci: fix artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Dec 18, 2024
1 parent 85c2735 commit b16b60b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ jobs:
variant: php-${{ needs.prepare.outputs.php83_version }}-bookworm
platform: linux/arm/v6
steps:
-
name: Prepare
id: prepare
run: |
platform=${{ matrix.platform }}
echo "sanitized_platform=${platform//\//-}" >> "${GITHUB_OUTPUT}"
-
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -200,7 +206,7 @@ jobs:
if: fromJson(needs.prepare.outputs.push)
uses: actions/upload-artifact@v4
with:
name: metadata-builder-${{ matrix.variant }}-${{ matrix.platform }}
name: metadata-builder-${{ matrix.variant }}-${{ steps.prepare.outputs.sanitized_platform }}
path: /tmp/metadata/builder/*
if-no-files-found: error
retention-days: 1
Expand All @@ -209,7 +215,7 @@ jobs:
if: fromJson(needs.prepare.outputs.push)
uses: actions/upload-artifact@v4
with:
name: metadata-runner-${{ matrix.variant }}-${{ matrix.platform }}
name: metadata-runner-${{ matrix.variant }}-${{ steps.prepare.outputs.sanitized_platform }}
path: /tmp/metadata/runner/*
if-no-files-found: error
retention-days: 1
Expand Down

0 comments on commit b16b60b

Please sign in to comment.