try fix linux cicd
This commit is contained in:
parent
7edef28bbc
commit
70a0f5f77d
1 changed files with 21 additions and 12 deletions
33
.github/workflows/build_linux.yml
vendored
33
.github/workflows/build_linux.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue