extra fancy version

This commit is contained in:
Jacob Heider 2023-03-03 18:09:23 -05:00
parent 6dd73eb14e
commit 6a799a5d47
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -115,9 +115,17 @@ jobs:
with: with:
name: ${{ inputs.platform }} name: ${{ inputs.platform }}
- name: extract bottles - name: clean destination
# Note: unlinking needed when changing a directory to a symlink, for example in # Note: needed when changing a directory to a symlink, for example in
# https://github.com/teaxyz/pantry.extra/pull/435 # https://github.com/teaxyz/pantry.extra/pull/435
run: |
tar tzf artifacts.tgz | \
awk '{ print length, $0 }' | \
sort -n -s -r | \
cut -d" " -f2- | \
xargs rm -rf
- name: extract bottles
run: tar xzvf artifacts.tgz -C $TEA_PREFIX --recursive-unlink --unlink-first run: tar xzvf artifacts.tgz -C $TEA_PREFIX --recursive-unlink --unlink-first
- run: pkg test ${{ inputs.projects }} - run: pkg test ${{ inputs.projects }}