Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: bump outdated actions #4334

Merged
merged 7 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: sudo apt-get install astyle

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/i18n-extraction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/i18n-printf-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 10 additions & 10 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }})
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc-full-features-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc-full-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msys2-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-translation-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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:
Expand All @@ -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 }})
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down
Loading