Revert "pack deps artifact to better support symbolic links"

This reverts commit c8a4a7db29.
This commit is contained in:
SoftFever
2026-01-05 17:45:15 +08:00
parent c8a4a7db29
commit cf9de8e444
2 changed files with 2 additions and 21 deletions

View File

@@ -95,19 +95,12 @@ jobs:
run: |
./build_linux.sh -dr
- name: Pack dependencies
if: ${{ !cancelled() && ! env.ACT}}
working-directory: ${{ github.workspace }}
shell: bash
run: |
tar -cf deps_packet.tar -C ${{ env.DEPS_PATH }} .
- name: Upload OrcaSlicer_dep director(ies) for use later
if: ${{ !cancelled() && ! env.ACT}}
uses: actions/upload-artifact@v6
with:
name: ${{ env.ARTIFACT_NAME }}
path: deps_packet.tar
path: ${{ env.DEPS_PATH }}
retention-days: 10 # It's not too big, but we don't need it for a very long time.
if-no-files-found: error

View File

@@ -34,19 +34,7 @@ jobs:
uses: actions/download-artifact@v7
with:
name: ${{ inputs.artifact-name }}
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
path: ${{ inputs.artifact-path }}
- uses: lukka/get-cmake@latest
with: