diff --git a/.github/workflows/Linux-pack.yml b/.github/workflows/Linux-pack.yml index 72f6446b..39996544 100644 --- a/.github/workflows/Linux-pack.yml +++ b/.github/workflows/Linux-pack.yml @@ -121,13 +121,13 @@ jobs: fi - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -143,7 +143,7 @@ jobs: echo "================================" echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV - name: Get packpack tool - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ env.PACKPACK_REPO }} path: tools @@ -240,13 +240,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -262,7 +262,7 @@ jobs: echo "================================" echo "VERSION=${last_committed_tag:1}" >> $GITHUB_ENV - name: Get packpack tool - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ env.PACKPACK_REPO }} path: tools @@ -352,13 +352,13 @@ jobs: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -466,13 +466,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -532,13 +532,13 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/MacOS-pack.yml b/.github/workflows/MacOS-pack.yml index 1441ad86..2c6c8ebb 100644 --- a/.github/workflows/MacOS-pack.yml +++ b/.github/workflows/MacOS-pack.yml @@ -45,7 +45,7 @@ jobs: steps: - name: Checkout Source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Qt run: brew install qt@5 cmake diff --git a/.github/workflows/Windows-pack.yml b/.github/workflows/Windows-pack.yml index d32de911..9504d684 100644 --- a/.github/workflows/Windows-pack.yml +++ b/.github/workflows/Windows-pack.yml @@ -54,14 +54,14 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # ref: master - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -197,7 +197,7 @@ jobs: echo $(python $GITHUB_WORKSPACE/scripts/upload_services/transferwee.py upload $GITHUB_WORKSPACE/build/Package/portable/flameshot-${VERSION}-${{ matrix.config.pak_arch }}.zip) 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: Windows-artifact path: ${{ github.workspace }}/build/Package/* diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 31f9c857..20acf006 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -27,11 +27,11 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} @@ -97,7 +97,7 @@ jobs: } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache Qt id: cache-qt diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index e9e610c8..be6d27d9 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -9,10 +9,10 @@ jobs: steps: - name: Checkout Source code if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout Source code if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - uses: DoozyX/clang-format-lint-action@v0.13 diff --git a/.github/workflows/deploy-dev-docs.yml b/.github/workflows/deploy-dev-docs.yml index 57a3635a..b472ed46 100644 --- a/.github/workflows/deploy-dev-docs.yml +++ b/.github/workflows/deploy-dev-docs.yml @@ -22,7 +22,7 @@ jobs: git+https://github.com/veracioux/mkdoxy@v1.0.0 - name: Checkout flameshot source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: 'flameshot' @@ -32,7 +32,7 @@ jobs: make build - name: Checkout flameshot website - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'flameshot-org/flameshot-org.github.io' ref: 'gh-pages'