mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
Merge branch 'main' into feature/auto-update
This commit is contained in:
9
.github/workflows/build_deps.yml
vendored
9
.github/workflows/build_deps.yml
vendored
@@ -95,12 +95,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./build_linux.sh -dr
|
./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
|
- name: Upload OrcaSlicer_dep director(ies) for use later
|
||||||
if: ${{ !cancelled() && ! env.ACT}}
|
if: ${{ !cancelled() && ! env.ACT}}
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: ${{ env.ARTIFACT_NAME }}
|
name: ${{ env.ARTIFACT_NAME }}
|
||||||
path: ${{ env.DEPS_PATH }}
|
path: deps_packet.tar
|
||||||
retention-days: 10 # It's not too big, but we don't need it for a very long time.
|
retention-days: 10 # It's not too big, but we don't need it for a very long time.
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|||||||
14
.github/workflows/build_orca.yml
vendored
14
.github/workflows/build_orca.yml
vendored
@@ -34,7 +34,19 @@ jobs:
|
|||||||
uses: actions/download-artifact@v7
|
uses: actions/download-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.artifact-name }}
|
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
|
- uses: lukka/get-cmake@latest
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user