9
9
jobs :
10
10
build-linux :
11
11
name : Build App for Linux x64
12
- runs-on : ubuntu-18.04
12
+ runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout code
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v4
16
16
with :
17
17
submodules : true
18
18
- name : Install Dependencies
19
19
run : sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && sudo apt-get install cmake g++-8 ninja-build libgtk-3-dev -y --no-install-recommends
20
20
- name : Build
21
21
run : mkdir -p build; cd build; export CC=/usr/bin/gcc-8; export CXX=/usr/bin/g++-8; cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --config release --target install
22
22
- name : Upload Artifacts
23
- uses : actions/upload-artifact@v2
23
+ uses : actions/upload-artifact@v4
24
24
with :
25
25
name : FatFileFinder_linux64
26
26
path : build/Release/*.AppImage
@@ -30,13 +30,13 @@ jobs:
30
30
runs-on : macos-latest
31
31
steps :
32
32
- name : Checkout code
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v4
34
34
with :
35
35
submodules : true
36
36
- name : Build
37
37
run : mkdir -p build; cd build; cmake -G "Xcode" -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --config Release --target install
38
38
- name : Upload Artifacts
39
- uses : actions/upload-artifact@v2
39
+ uses : actions/upload-artifact@v4
40
40
with :
41
41
name : FatFileFinder_macOS
42
42
path : build/release/*.app
@@ -50,13 +50,13 @@ jobs:
50
50
arch : [x64, ARM64]
51
51
steps :
52
52
- name : Checkout code
53
- uses : actions/checkout@v2
53
+ uses : actions/checkout@v4
54
54
with :
55
55
submodules : true
56
56
- name : Build
57
57
run : mkdir build; cd build; cmake -A${{ matrix.arch }} -DCMAKE_BUILD_TYPE=Release .. ; cmake --build . --config release --target install
58
58
- name : Upload Artifacts
59
- uses : actions/upload-artifact@v2
59
+ uses : actions/upload-artifact@v4
60
60
with :
61
61
name : FatFileFinder_win${{ matrix.arch }}
62
62
path : build\release\*.exe
0 commit comments