From 70a0f5f77d52bc30f8882dc5a36fb34b52fa3709 Mon Sep 17 00:00:00 2001 From: SoftFever <103989404+SoftFever@users.noreply.github.com> Date: Wed, 5 Apr 2023 22:03:19 +0800 Subject: [PATCH] try fix linux cicd --- .github/workflows/build_linux.yml | 33 ++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index b2c6ace5e..6556e2e6d 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -27,20 +27,29 @@ jobs: - name: Fix permissions shell: bash run: sudo chown $USER -R ./ - - name: Build deps - id: cache_deps - uses: actions/cache@v3 - env: - cache-name: ${{ runner.os }}-cache-orcaslicer_deps_x64 - with: - path: ${{ github.workspace }}/deps/build/destdir - key: build-${{ env.cache-name }} + # - name: Build deps + # id: cache_deps + # uses: actions/cache@v3 + # env: + # cache-name: ${{ runner.os }}-cache-orcaslicer_deps_x64 + # with: + # path: ${{ github.workspace }}/deps/build/destdir + # key: build-${{ env.cache-name }} - - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }} - name: Build deps + # - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }} + # name: Build deps + # working-directory: ${{ github.workspace }} + # continue-on-error: true + # run: ./BuildLinux.sh -dr + - name: Download and extract deps working-directory: ${{ github.workspace }} - continue-on-error: true - run: ./BuildLinux.sh -dr + run: | + curl -LJO https://github.com/SoftFever/FileSharing/releases/download/OrcaSlicer_deps_Mar/OrcaSlicer_dep_ubuntu_05-04-2023.tar.gz + tar -zxf OrcaSlicer_dep_ubuntu_05-04-2023.tar.gz -C ${{ github.workspace }}/deps/build + chown -R $(id -u):$(id -g) ${{ github.workspace }}/deps/build/destdir + ls -l ${{ github.workspace }}/deps/build/destdir + rm OrcaSlicer_dep_ubuntu_05-04-2023.tar.gz + - name: Build Studio shell: bash