don't try to artifact null (~) srcs

This commit is contained in:
Jacob Heider 2023-01-04 20:44:23 -05:00
parent ad375e1dbd
commit 5b8a94584e
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -140,8 +140,10 @@ jobs:
echo ${{ steps.bottle-gz.outputs.checksums }} ${{ steps.bottle-xz.outputs.checksums }} >checksums echo ${{ steps.bottle-gz.outputs.checksums }} ${{ steps.bottle-xz.outputs.checksums }} >checksums
echo ${{ steps.bottle-gz.outputs.signatures }} ${{ steps.bottle-xz.outputs.signatures }} >signatures echo ${{ steps.bottle-gz.outputs.signatures }} ${{ steps.bottle-xz.outputs.signatures }} >signatures
SRCS=$(echo $srcs | tr -d '~')
tar cf $GITHUB_WORKSPACE/artifacts.tar \ tar cf $GITHUB_WORKSPACE/artifacts.tar \
$srcs \ $SRCS \
${{ steps.bottle-gz.outputs.bottles }} \ ${{ steps.bottle-gz.outputs.bottles }} \
${{ steps.bottle-xz.outputs.bottles }} \ ${{ steps.bottle-xz.outputs.bottles }} \
bottles checksums signatures bottles checksums signatures