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
|
- name: Fix permissions
|
||||||
shell: bash
|
shell: bash
|
||||||
run: sudo chown $USER -R ./
|
run: sudo chown $USER -R ./
|
||||||
- name: Build deps
|
# - name: Build deps
|
||||||
id: cache_deps
|
# id: cache_deps
|
||||||
uses: actions/cache@v3
|
# uses: actions/cache@v3
|
||||||
env:
|
# env:
|
||||||
cache-name: ${{ runner.os }}-cache-orcaslicer_deps_x64
|
# cache-name: ${{ runner.os }}-cache-orcaslicer_deps_x64
|
||||||
with:
|
# with:
|
||||||
path: ${{ github.workspace }}/deps/build/destdir
|
# path: ${{ github.workspace }}/deps/build/destdir
|
||||||
key: build-${{ env.cache-name }}
|
# key: build-${{ env.cache-name }}
|
||||||
|
|
||||||
- if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
|
# - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
|
||||||
name: Build deps
|
# name: Build deps
|
||||||
|
# working-directory: ${{ github.workspace }}
|
||||||
|
# continue-on-error: true
|
||||||
|
# run: ./BuildLinux.sh -dr
|
||||||
|
- name: Download and extract deps
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
continue-on-error: true
|
run: |
|
||||||
run: ./BuildLinux.sh -dr
|
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
|
- name: Build Studio
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue