handle srcs special case: ~

This commit is contained in:
Jacob Heider 2022-12-17 09:30:16 -05:00
parent 4b39c0fc9b
commit a55998598f
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -277,8 +277,11 @@ jobs:
echo ${{ steps.bottle-gz.outputs.checksums }} ${{ steps.bottle-xz.outputs.checksums }} >checksums
echo ${{ steps.bottle-gz.outputs.signatures }} ${{ steps.bottle-xz.outputs.signatures }} >signatures
# Don't try to archive "~"
SRCS=$(echo ${{ needs.build.outputs.srcs }} | sed -e 's/~//g')
tar cf $GITHUB_WORKSPACE/artifacts.tar \
${{ needs.build.outputs.srcs }} \
$SRCS \
${{ steps.bottle-gz.outputs.bottles }} \
${{ steps.bottle-xz.outputs.bottles }} \
bottles checksums signatures