99jobs :
1010 build-linux :
1111 name : Build App for Linux x64
12- runs-on : ubuntu-18.04
12+ runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout code
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v4
1616 with :
1717 submodules : true
1818 - name : Install Dependencies
1919 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
2020 - name : Build
2121 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
2222 - name : Upload Artifacts
23- uses : actions/upload-artifact@v2
23+ uses : actions/upload-artifact@v4
2424 with :
2525 name : FatFileFinder_linux64
2626 path : build/Release/*.AppImage
@@ -30,13 +30,13 @@ jobs:
3030 runs-on : macos-latest
3131 steps :
3232 - name : Checkout code
33- uses : actions/checkout@v2
33+ uses : actions/checkout@v4
3434 with :
3535 submodules : true
3636 - name : Build
3737 run : mkdir -p build; cd build; cmake -G "Xcode" -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --config Release --target install
3838 - name : Upload Artifacts
39- uses : actions/upload-artifact@v2
39+ uses : actions/upload-artifact@v4
4040 with :
4141 name : FatFileFinder_macOS
4242 path : build/release/*.app
@@ -50,13 +50,13 @@ jobs:
5050 arch : [x64, ARM64]
5151 steps :
5252 - name : Checkout code
53- uses : actions/checkout@v2
53+ uses : actions/checkout@v4
5454 with :
5555 submodules : true
5656 - name : Build
5757 run : mkdir build; cd build; cmake -A${{ matrix.arch }} -DCMAKE_BUILD_TYPE=Release .. ; cmake --build . --config release --target install
5858 - name : Upload Artifacts
59- uses : actions/upload-artifact@v2
59+ uses : actions/upload-artifact@v4
6060 with :
6161 name : FatFileFinder_win${{ matrix.arch }}
6262 path : build\release\*.exe
0 commit comments