diff --git a/.github/workflows/Linux-pack.yml b/.github/workflows/Linux-pack.yml index 2b742f17..9da2aafd 100644 --- a/.github/workflows/Linux-pack.yml +++ b/.github/workflows/Linux-pack.yml @@ -27,7 +27,7 @@ env: jobs: deb-pack: name: Build deb on ${{ matrix.dist.name }} ${{ matrix.dist.arch }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -122,13 +122,13 @@ jobs: fi - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -144,7 +144,7 @@ jobs: echo "================================" echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV - name: Get packpack tool - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: ${{ env.PACKPACK_REPO }} path: tools @@ -206,7 +206,7 @@ jobs: echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.${{ matrix.dist.name }}.${{ matrix.dist.arch }}.deb) echo "======no operation for you can see link in the log console=====" - name: Artifact Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Linux-distribution-artifact path: | @@ -215,7 +215,7 @@ jobs: rpm-pack: name: Build rpm on ${{ matrix.dist.name }} ${{ matrix.dist.arch }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -241,13 +241,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -263,7 +263,7 @@ jobs: echo "================================" echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV - name: Get packpack tool - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: ${{ env.PACKPACK_REPO }} path: tools @@ -313,7 +313,7 @@ jobs: echo "======no operation for you can see link in the log console=====" - name: Artifact Upload if: matrix.dist.os == 'fedora' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Linux-distribution-artifact path: | @@ -321,7 +321,7 @@ jobs: - name: Artifact Upload if: matrix.dist.os == 'opensuse-leap' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Linux-distribution-artifact path: | @@ -330,7 +330,7 @@ jobs: appimage-pack: name: Build appimage on ${{ matrix.config.name }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -353,13 +353,13 @@ jobs: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -451,7 +451,7 @@ jobs: echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/Flameshot-${VERSION}.x86_64.AppImage) echo "======no operation for you can see link in the log console=====" - name: Artifact Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Linux-distribution-artifact path: | @@ -464,13 +464,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -517,7 +517,7 @@ jobs: echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/org.flameshot.Flameshot-${VERSION}.x86_64.flatpak) echo "======no operation for you can see link in the log console=====" - name: Artifact Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Linux-distribution-artifact path: | @@ -530,13 +530,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -574,7 +574,7 @@ jobs: echo $(sh $GITHUB_WORKSPACE/scripts/upload_services/${UPLOAD_SERVICE}.sh $GITHUB_WORKSPACE/build/${PRODUCT}-${VERSION}-${RELEASE}.amd64.snap) echo "======no operation for you can see link in the log console=====" - name: Artifact Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Linux-distribution-artifact path: | diff --git a/.github/workflows/MacOS-pack.yml b/.github/workflows/MacOS-pack.yml index 228b88d0..9d9550ee 100644 --- a/.github/workflows/MacOS-pack.yml +++ b/.github/workflows/MacOS-pack.yml @@ -19,8 +19,8 @@ env: jobs: catalina: - name: macOS Catalina 10.15 - runs-on: macos-10.15 + name: macOS Monterey 12 + runs-on: macos-12 env: APP_NAME: flameshot @@ -45,7 +45,7 @@ jobs: steps: - name: Checkout Source code - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Install Qt run: brew install qt@5 cmake @@ -81,7 +81,7 @@ jobs: echo "=====no operation for you can see link in the log console=====" - name: Artifact Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: MacOS-artifact path: ${{ github.workspace }}/build/src/flameshot.dmg diff --git a/.github/workflows/Windows-pack.yml b/.github/workflows/Windows-pack.yml index a8486681..d32de911 100644 --- a/.github/workflows/Windows-pack.yml +++ b/.github/workflows/Windows-pack.yml @@ -24,8 +24,8 @@ jobs: VCINSTALLDIR: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/ Qt5_DIR: ${{ github.workspace }}\build\Qt\${{ matrix.qt_ver }}\${{ matrix.config.qt_arch_install }}\lib\cmake\Qt5\ QTDIR: ${{ github.workspace }}\build\Qt\${{ matrix.qt_ver }}\${{ matrix.config.qt_arch_install }}\ - # 2020.07 - VCPKG_VERSION: 56fffbe49dfb4dd8fae0940f272c5fd2b86be991 + # 2022.06.15.1 + VCPKG_VERSION: cef0b3ec767df6e83806899fe9525f6cf8d7bc91 VCPKG_PACKAGES: openssl-windows OPENSSL_ROOT_DIR: ${{ github.workspace }}\vcpkg\installed\${{ matrix.config.vcpkg_triplet }}\ strategy: @@ -54,14 +54,14 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 # ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -91,7 +91,7 @@ jobs: - name: Cache Qt id: cache-qt - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ./build/Qt/${{ matrix.qt_ver }}/${{ matrix.config.qt_arch_install }} key: ${{ runner.os }}-QtCache/${{ matrix.qt_ver }}/${{ matrix.config.qt_arch }} diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 2e3829cc..31f9c857 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -22,16 +22,16 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04] + os: [ubuntu-22.04] steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} @@ -42,7 +42,7 @@ jobs: cmake \ extra-cmake-modules \ build-essential \ - qt5-default \ + qtbase5-dev \ qttools5-dev-tools \ qttools5-dev \ libqt5dbus5 \ @@ -101,7 +101,7 @@ jobs: - name: Cache Qt id: cache-qt - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ./build/Qt key: ${{ runner.os }}-QtCache diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index b5e946d3..e9e610c8 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -9,13 +9,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: DoozyX/clang-format-lint-action@v0.9 + - uses: DoozyX/clang-format-lint-action@v0.13 with: source: './src' extensions: 'h,cpp'