Use --unlink when extracting build artifacts to prevent issues

This commit is contained in:
Jacob Heider 2023-03-03 17:30:33 -05:00
parent 04cd68f914
commit b0eb1fed1f
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -116,7 +116,9 @@ jobs:
name: ${{ inputs.platform }}
- name: extract bottles
run: tar xzvf artifacts.tgz -C $TEA_PREFIX
# Note: unlink needed when changing a directory to a symlink, for example in
# https://github.com/teaxyz/pantry.extra/pull/435
run: tar xzvf artifacts.tgz -C $TEA_PREFIX --unlink
- run: pkg test ${{ inputs.projects }}
env: