diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 457865abe064..7db6ec5c4037 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -29,12 +29,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Set up JDK 11 (android) - uses: actions/setup-java@v3 + uses: actions/setup-java@v4.1.0 with: java-version: "11" distribution: "adopt" diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 2ce892b19662..dfd650ea3ca1 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -17,7 +17,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: sudo apt-get install astyle diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index c2ea1117b605..28e735bc4544 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -41,7 +41,7 @@ jobs: steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: install dependencies diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7a38986653f0..b52d51bb528e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -22,7 +22,7 @@ jobs: environment: github-pages steps: - name: Checkout your repository using git - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install, build, and upload site uses: withastro/action@v0 with: diff --git a/.github/workflows/i18n-extraction.yml b/.github/workflows/i18n-extraction.yml index 498a35c895f8..e82c15e6969a 100644 --- a/.github/workflows/i18n-extraction.yml +++ b/.github/workflows/i18n-extraction.yml @@ -21,7 +21,7 @@ jobs: sudo apt-get install gettext python3-pip sudo pip3 install polib luaparser - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check that translation template extraction works run: lang/update_pot.sh diff --git a/.github/workflows/i18n-printf-format.yml b/.github/workflows/i18n-printf-format.yml index 039402e8113d..de229f35d582 100644 --- a/.github/workflows/i18n-printf-format.yml +++ b/.github/workflows/i18n-printf-format.yml @@ -16,7 +16,7 @@ jobs: sudo apt-get install python3-pip sudo pip3 install polib - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Check printf format string in translations" run: ./tools/check_po_printf_format.py diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index 901a0f33b746..691c28cefc91 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -27,38 +27,38 @@ jobs: echo "release_name=Cataclysm-BN ${{ env.VERSION }}" >> $GITHUB_OUTPUT - name: Check if there is existing git tag id: tag_check - uses: mukunku/tag-exists-action@v1.4.0 + uses: mukunku/tag-exists-action@v1.6.0 with: tag: ${{ steps.generate_env_vars.outputs.tag_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Push tag id: tag_version - uses: mathieudutour/github-tag-action@v5.5 + uses: mathieudutour/github-tag-action@v6.2 if: ${{ steps.tag_check.outputs.exists == 'false' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} custom_tag: ${{ steps.generate_env_vars.outputs.tag_name }} tag_prefix: "" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch origin tag ${{ steps.generate_env_vars.outputs.tag_name }} --no-tags - name: Build Changelog id: build_changelog - uses: mikepenz/release-changelog-builder-action@v2.1.0 + uses: mikepenz/release-changelog-builder-action@v4.2.0 with: configuration: "changelog.json" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create release id: create_release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v2.0.2 if: ${{ steps.tag_check.outputs.exists == 'false' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.generate_env_vars.outputs.tag_name }} - release_name: ${{ steps.generate_env_vars.outputs.release_name }} + name: ${{ steps.generate_env_vars.outputs.release_name }} body: | ${{ steps.build_changelog.outputs.changelog }} These are the outputs for the manually triggered build of commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) @@ -155,7 +155,7 @@ jobs: env: ZSTD_CLEVEL: 17 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create VERSION.TXT shell: bash run: | @@ -246,7 +246,7 @@ jobs: mv CataclysmBN-${{ env.VERSION }}.dmg cbn-${{ matrix.artifact }}-${{ env.VERSION }}.dmg - name: Set up JDK 11 (android) if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none' - uses: actions/setup-java@v3 + uses: actions/setup-java@v4.1.0 with: java-version: "11" distribution: "adopt" @@ -279,7 +279,7 @@ jobs: fi - name: Upload release asset id: upload-release-asset - uses: actions/upload-release-asset@v1 + uses: shogo82148/actions-upload-release-asset@v1.7.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index c177b6f68281..b513128ef795 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -147,7 +147,7 @@ jobs: steps: - name: checkout repository if: ${{ env.SKIP == 'false' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/.github/workflows/msvc-full-features-cmake.yml b/.github/workflows/msvc-full-features-cmake.yml index cbd65c66cb9a..606fb245989b 100644 --- a/.github/workflows/msvc-full-features-cmake.yml +++ b/.github/workflows/msvc-full-features-cmake.yml @@ -53,7 +53,7 @@ jobs: steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/.github/workflows/msvc-full-features.yml b/.github/workflows/msvc-full-features.yml index adc0b2183bd3..5a02943f96fa 100644 --- a/.github/workflows/msvc-full-features.yml +++ b/.github/workflows/msvc-full-features.yml @@ -52,7 +52,7 @@ jobs: steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/.github/workflows/msys2-cmake.yml b/.github/workflows/msys2-cmake.yml index af71b346dde1..a74970c8ccc2 100644 --- a/.github/workflows/msys2-cmake.yml +++ b/.github/workflows/msys2-cmake.yml @@ -33,7 +33,7 @@ jobs: steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index f12a3d0267f7..329d59665d34 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -33,7 +33,7 @@ jobs: steps: - name: checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/.github/workflows/pull-translations.yml b/.github/workflows/pull-translations.yml index 23a517cd2e41..5a85f6ba9a17 100644 --- a/.github/workflows/pull-translations.yml +++ b/.github/workflows/pull-translations.yml @@ -13,7 +13,7 @@ jobs: run: | curl -sL https://github.com/transifex/cli/releases/download/v1.6.7/tx-linux-amd64.tar.gz | sudo tar zxvf - -C /usr/bin tx - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Get current date" uses: nanzm/get-time-action@v1.1 id: get-timestamp diff --git a/.github/workflows/push-translation-template.yml b/.github/workflows/push-translation-template.yml index 836df157a0d3..c2840c628eb1 100644 --- a/.github/workflows/push-translation-template.yml +++ b/.github/workflows/push-translation-template.yml @@ -27,7 +27,7 @@ jobs: sudo apt install python3-pip sudo pip3 install polib luaparser - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Generate translation template" run: | lang/update_pot.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b86f62e94eaf..694012856d42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: tag_name: ${{ steps.env_vars.outputs.tag_name }} release_name: ${{ steps.env_vars.outputs.release_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: env_vars run: | TAG_NAME=$(date -u --iso-8601 --date='1 day ago') @@ -42,30 +42,30 @@ jobs: steps: - name: Check if there is existing git tag id: tag_check - uses: mukunku/tag-exists-action@v1.4.0 + uses: mukunku/tag-exists-action@v1.6.0 with: tag: ${{ needs.metadata.outputs.tag_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Push tag if: ${{ steps.tag_check.outputs.exists == 'false' }} id: tag_version - uses: mathieudutour/github-tag-action@v5.5 + uses: mathieudutour/github-tag-action@v6.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} custom_tag: ${{ needs.metadata.outputs.tag_name }} tag_prefix: "" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch origin tag ${{ needs.metadata.outputs.tag_name }} --no-tags - name: Build Changelog id: build_changelog - uses: mikepenz/release-changelog-builder-action@v2.1.0 + uses: mikepenz/release-changelog-builder-action@v4.2.0 with: configuration: "changelog.json" env: @@ -74,12 +74,12 @@ jobs: - name: Create release if: ${{ steps.tag_check.outputs.exists == 'false' }} id: create_release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v2.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ needs.metadata.outputs.tag_name }} - release_name: ${{ needs.metadata.outputs.release_name }} + name: ${{ needs.metadata.outputs.release_name }} body: | ${{ steps.build_changelog.outputs.changelog }} These are the outputs for the experimental build of commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) @@ -179,7 +179,7 @@ jobs: env: ZSTD_CLEVEL: 17 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create VERSION.TXT shell: bash run: | @@ -282,7 +282,7 @@ jobs: - name: Set up JDK 11 (android) if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none' - uses: actions/setup-java@v3 + uses: actions/setup-java@v4.1.0 with: java-version: "11" distribution: "adopt" @@ -319,7 +319,7 @@ jobs: - name: Upload release asset id: upload-release-asset - uses: actions/upload-release-asset@v1 + uses: shogo82148/actions-upload-release-asset@v1.7.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: