pack deps artifact to better support symbolic links

This commit is contained in:
SoftFever
2026-01-05 16:48:34 +08:00
parent 0c5f6c9865
commit c8a4a7db29
2 changed files with 21 additions and 2 deletions

View File

@@ -34,7 +34,19 @@ jobs:
uses: actions/download-artifact@v7
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.artifact-path }}
path: .
- name: Unpack dependencies
shell: bash
run: |
if [ ! -f deps_packet.tar ]; then
echo "Error: deps_packet.tar not found"
ls -R
exit 1
fi
mkdir -p ${{ inputs.artifact-path }}
tar -xf deps_packet.tar -C ${{ inputs.artifact-path }}
rm deps_packet.tar
- uses: lukka/get-cmake@latest
with: