Skip to content

Commit

Permalink
fix: replace matrix.platform with env.DIGEST
Browse files Browse the repository at this point in the history
  • Loading branch information
wangeguo committed Dec 28, 2023
1 parent b8f6c53 commit 9145143
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ jobs:
mkdir -p "/tmp/digests/${{ matrix.bin }}"
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${{ matrix.bin }}/${digest#sha256:}"
echo "DIGEST=${digest#sha256:}" >> $GITHUB_ENV
- name: Upload digests
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.bin }}-digests-${{ matrix.platform }}
name: ${{ matrix.bin }}-digests-${{ env.DIGEST }}
path: /tmp/digests/${{ matrix.bin }}/*
if-no-files-found: error
retention-days: 1
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace.package]
version = "0.6.14"
version = "0.6.15"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/amphitheatre-app/amphitheatre"
Expand Down

0 comments on commit 9145143

Please sign in to comment.