Skip to content

Commit

Permalink
ci: fix packaging issue for anvil-zksync tar archives (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov authored Feb 7, 2025
1 parent 5d4511b commit 0489105
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ jobs:
- name: Pack anvil-zksync
run: |
tar -czf anvil-zksync-${{ inputs.tag || inputs.prerelease_name }}-${{ matrix.arch }}.tar.gz \
./target/${{ matrix.arch }}/release/anvil-zksync
tar -C ./target/${{ matrix.arch }}/release -czf \
anvil-zksync-${{ inputs.tag || inputs.prerelease_name }}-${{ matrix.arch }}.tar.gz \
anvil-zksync
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -93,7 +94,7 @@ jobs:
shell: 'bash -ex {0}'
run: |
[ ! -z "${{ inputs.tag }}" ] && TAG="${{ inputs.tag }}" \
|| TAG="$(git rev-parse --short HEAD)"
|| TAG="$(git rev-parse --short HEAD)"
echo "tag=${TAG}" >> "${GITHUB_OUTPUT}"
- name: Download artifacts
Expand Down

0 comments on commit 0489105

Please sign in to comment.