Skip to content

Commit

Permalink
Merge pull request #270 from signalwire/gha
Browse files Browse the repository at this point in the history
Unnest artifacts archive in `cicd-docker-build-and-distribute`.
  • Loading branch information
andywolk authored Apr 22, 2024
2 parents 6dac43f + e4d3589 commit 71aea78
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/cicd-docker-build-and-distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ jobs:
ARTIFACTS_DIR: ${{ inputs.ARTIFACTS_DIR }}
run: |
tar -czvf ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz -C "${ARTIFACTS_DIR}" $(ls -1 "${ARTIFACTS_DIR}")
sha512sum ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz | tee ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz.sha512
tar -czvf temp_${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz.sha512
rm -v ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz.sha512 && \
mv -v temp_${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz
- name: Copy/Exec artifacts/commands to/on remote host
if: ${{ inputs.UPLOAD_BUILD_ARTIFACTS }}
Expand Down

0 comments on commit 71aea78

Please sign in to comment.