Skip to content

Commit 9d21133

Browse files
committed
CI: update actions
1 parent 603c301 commit 9d21133

15 files changed

+92
-206
lines changed

.github/workflows/ccpp_mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
hdiutil create -ov -fs HFS+ -volname ${{ github.event.repository.name }} -srcfolder "build/pack/${{ github.event.repository.name }}" temp.dmg
2727
hdiutil convert temp.dmg -format UDZO -o ${{ github.event.repository.name }}.dmg
2828
- name: Upload artifact
29-
uses: actions/upload-artifact@v1.0.0
29+
uses: actions/upload-artifact@v3
3030
with:
3131
name: nightly_macos.app
3232
path: build/pack/${{ github.event.repository.name }}/${{ github.event.repository.name }}.app
3333
- name: Upload artifact
34-
uses: actions/upload-artifact@v1.0.0
34+
uses: actions/upload-artifact@v3
3535
with:
3636
name: nightly_macos.dmg
3737
path: ${{ github.event.repository.name }}.dmg

.github/workflows/ccpp_mac_arm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
- name: build deps & slicer
1919
run: ./BuildMacOS.sh -ia
2020
- name: Upload artifact
21-
uses: actions/upload-artifact@v1.0.0
21+
uses: actions/upload-artifact@v3
2222
with:
2323
name: nightly_macos_arm_debug.dmg
2424
path: build/${{ github.event.repository.name }}.dmg
2525
- name: Upload artifact
26-
uses: actions/upload-artifact@v1.0.0
26+
uses: actions/upload-artifact@v3
2727
with:
2828
name: nightly_arm_macos.tar
2929
path: build/${{ github.event.repository.name }}.tar

.github/workflows/ccpp_mac_arm_debug.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: macos-11
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
ref: 'debug_macos'
1717
- name: build deps & slicer
@@ -20,12 +20,12 @@ jobs:
2020
working-directory: ./build
2121
run: ls
2222
- name: Upload artifact
23-
uses: actions/upload-artifact@v1.0.0
23+
uses: actions/upload-artifact@v3
2424
with:
2525
name: nightly_macos_arm_debug.dmg
2626
path: build/${{ github.event.repository.name }}.dmg
2727
- name: Upload artifact
28-
uses: actions/upload-artifact@v1.0.0
28+
uses: actions/upload-artifact@v3
2929
with:
3030
name: nightly_arm_macos.tar
3131
path: build/${{ github.event.repository.name }}.tar

.github/workflows/ccpp_mac_arm_rc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: macos-11
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
ref: 'rc'
1717
- name: build deps & slicer
1818
run: ./BuildMacOS.sh -ia
1919
- name: Upload artifact
20-
uses: actions/upload-artifact@v1.0.0
20+
uses: actions/upload-artifact@v3
2121
with:
2222
name: rc_arm_macos.tar
2323
path: build/${{ github.event.repository.name }}.tar

.github/workflows/ccpp_mac_debug.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: macos-12
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
ref: 'debug_macos'
1717
- name: build deps & slicer
@@ -28,12 +28,12 @@ jobs:
2828
working-directory: ./build
2929
run: ls
3030
- name: Upload artifact
31-
uses: actions/upload-artifact@v1.0.0
31+
uses: actions/upload-artifact@v3
3232
with:
3333
name: nightly_macos_debug.dmg
3434
path: build/${{ github.event.repository.name }}.dmg
3535
- name: Upload artifact
36-
uses: actions/upload-artifact@v1.0.0
36+
uses: actions/upload-artifact@v3
3737
with:
3838
name: nightly_macos.tar
3939
path: ${{ github.event.repository.name }}.tar

.github/workflows/ccpp_mac_rc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: macos-12
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
ref: 'rc'
1818
- name: build deps & slicer
@@ -61,12 +61,12 @@ jobs:
6161
codesign -vvv --deep --strict ./build/pack/SuperSlicer/SuperSlicer.app
6262
codesign -dvv ./build/pack/SuperSlicer/SuperSlicer.app
6363
- name: Upload artifact
64-
uses: actions/upload-artifact@v1.0.0
64+
uses: actions/upload-artifact@v3
6565
with:
6666
name: rc_macos.app
6767
path: build/pack/SuperSlicer/SuperSlicer.app
6868
- name: Upload artifact
69-
uses: actions/upload-artifact@v1.0.0
69+
uses: actions/upload-artifact@v3
7070
with:
7171
name: rc_macos.dmg
7272
path: build/SuperSlicer.dmg

.github/workflows/ccpp_ubuntu.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,43 @@ on:
1111
jobs:
1212
build:
1313

14-
runs-on: ubuntu-18.04
14+
runs-on: ubuntu-22.04
1515

1616
steps:
1717
- uses: actions/checkout@v3
18+
19+
- name: update apt cache & install packages
20+
run: sudo apt update && sudo apt -y install git cmake libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev gettext
21+
1822
- name: update submodule profiles
1923
working-directory: ./resources/profiles
2024
run: git submodule update --init
21-
- name: change date in version
22-
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc
25+
2326
- name: update clock
2427
run: sudo hwclock -s
25-
- name: update apt
26-
run: sudo apt update
27-
- name: install gtk2 glew
28-
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev
28+
29+
- name: change date in version
30+
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc
31+
2932
- name: build deps & slicer
30-
run: ./BuildLinux.sh -dgs
33+
run: ./BuildLinux.sh -ds
34+
3135
- name: make .pot
3236
working-directory: ./build
3337
run: make gettext_make_pot
38+
3439
- name: build tar & appimage
3540
working-directory: ./build
3641
run: src/BuildLinuxImage.sh -i
42+
3743
- name: Upload artifact
38-
uses: actions/upload-artifact@v1.0.0
44+
uses: actions/upload-artifact@v3
3945
with:
40-
name: nightly_linux_gtk2.tar
46+
name: nightly_linux.tar
4147
path: build/${{ github.event.repository.name }}.tar
48+
4249
- name: Upload appimage
43-
uses: actions/upload-artifact@v1.0.0
50+
uses: actions/upload-artifact@v3
4451
with:
45-
name: ${{ github.event.repository.name }}-gtk2.AppImage
52+
name: ${{ github.event.repository.name }}.AppImage
4653
path: build/${{ github.event.repository.name }}_ubu64.AppImage

.github/workflows/ccpp_ubuntu_debug.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,46 @@ on:
88
jobs:
99
build:
1010

11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-22.04
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
ref: 'debug_ubuntu'
17+
18+
- name: update apt cache & install packages
19+
run: sudo apt update && sudo apt -y install git cmake libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev gettext libssl-dev libcurl4-openssl-dev
20+
1721
- name: update submodule profiles
1822
working-directory: ./resources/profiles
1923
run: git submodule update --init
20-
- name: change date in version
21-
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc
24+
2225
- name: update clock
2326
run: sudo hwclock -s
24-
- name: update apt
25-
run: sudo apt update
26-
- name: install gtk2 glew
27-
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev libssl-dev libcurl4-openssl-dev
27+
28+
- name: change date in version
29+
run: sed -i "s/+UNKNOWN/_$(date '+%F')/" version.inc
30+
2831
- name: build deps & slicer
29-
run: ./BuildLinux.sh -bdgs
32+
run: ./BuildLinux.sh -bds
33+
3034
- name: make .pot
3135
working-directory: ./build
3236
run: make gettext_make_pot
37+
3338
- name: build tar & appimage
3439
working-directory: ./build
3540
run: src/BuildLinuxImage.sh -i
41+
3642
- name: Upload artifact
37-
uses: actions/upload-artifact@v1.0.0
43+
uses: actions/upload-artifact@v3
3844
with:
39-
name: nightly_linux_gtk2.tar
45+
name: nightly_linux.tar
4046
path: build/${{ github.event.repository.name }}.tar
47+
4148
- name: Upload appimage
42-
uses: actions/upload-artifact@v1.0.0
49+
uses: actions/upload-artifact@v3
4350
with:
44-
name: ${{ github.event.repository.name }}-gtk2.AppImage
51+
name: ${{ github.event.repository.name }}.AppImage
4552
path: build/${{ github.event.repository.name }}_ubu64.AppImage
53+

.github/workflows/ccpp_ubuntu_gtk3.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/ccpp_ubuntu_gtk3_debug.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)