Skip to content

Commit

Permalink
Merge pull request #14 from TU-Darmstadt-APQ/dependabot/github_action…
Browse files Browse the repository at this point in the history
…s/actions/upload-artifact-4

[gha] Bump actions/upload-artifact from 3 to 4
  • Loading branch information
PatrickBaus authored Dec 17, 2023
2 parents 37ed7b7 + 35ca459 commit 4c03b85
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,19 @@ jobs:
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
shell: bash

- name: Sanitize platform string
id: platform
env:
PLATFORM_STRING: ${{ matrix.platform }}
run: |
echo "value=${PLATFORM_STRING//\//_}" >> $GITHUB_OUTPUT
shell: bash

- name: Upload digest
if: needs.prepare.outputs.push == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: digests
path: /tmp/digests/*
Expand All @@ -116,10 +125,15 @@ jobs:
packages: write
steps:
- name: Download digests
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: digests
path: /tmp/digests
path: artifacts

- name: Merge artifacts
run: |
mkdir /tmp/digests
mv artifacts/*/* /tmp/digests
shell: bash

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit 4c03b85

Please sign in to comment.