ENH: workflow: update action to v4
Change-Id: I047f83cc7db03c0e02bf975c9704a6282c9e8eb4
This commit is contained in:
parent
2fa607f696
commit
262eea6b35
|
@ -9,7 +9,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
@ -22,7 +22,7 @@ jobs:
|
||||||
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@v4
|
||||||
env:
|
env:
|
||||||
cache-name: ${{ runner.os }}-cache-bambustudio_deps_x64
|
cache-name: ${{ runner.os }}-cache-bambustudio_deps_x64
|
||||||
with:
|
with:
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- name: Build Studio
|
- name: Build Studio
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./BuildLinux.sh -ir
|
run: ./BuildLinux.sh -ir
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: BambuStudio_Linux_ubu64_20.04
|
name: BambuStudio_Linux_ubu64_20.04
|
||||||
path: './build/BambuStudio_ubu64.AppImage'
|
path: './build/BambuStudio_ubu64.AppImage'
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
||||||
sudo apt-get autoclean -y >/dev/null 2>&1 || true
|
sudo apt-get autoclean -y >/dev/null 2>&1 || true
|
||||||
- name: Check disk space
|
- name: Check disk space
|
||||||
run: df -h
|
run: df -h
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install podman
|
- name: Install podman
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
@ -111,7 +111,7 @@ jobs:
|
||||||
podman cp bambu-studio-builder:/BambuStudio/build/BambuStudio_ubu64.AppImage ./
|
podman cp bambu-studio-builder:/BambuStudio/build/BambuStudio_ubu64.AppImage ./
|
||||||
podman stop bambu-studio-builder
|
podman stop bambu-studio-builder
|
||||||
podman rm bambu-studio-builder
|
podman rm bambu-studio-builder
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: BambuStudio_Linux_ubu64_using_container
|
name: BambuStudio_Linux_ubu64_using_container
|
||||||
path: './BambuStudio_ubu64.AppImage'
|
path: './BambuStudio_ubu64.AppImage'
|
||||||
|
|
Loading…
Reference in New Issue