Skip to content

Commit

Permalink
ci: update actions to shut up deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaricchi committed Mar 6, 2024
1 parent e6832e1 commit ab83abd
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-ci-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
ref: ${{ github.event.inputs.custom_ref }}

- name: Login to Docker Hub Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build/Push Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
file: misc/ci/Dockerfile.${{ github.event.inputs.container_type }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/emscripten-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
submodules: 'recursive'

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
ninja zip -C build/
- name: Upload Log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_emscripten_latest_build_log
path: build/meson-logs/meson-log.txt
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
submodules: 'recursive'

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:

- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_linux_fail_log
path: build/meson-logs/meson-log.txt
Expand All @@ -111,7 +111,7 @@ jobs:
submodules: 'recursive'

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:

- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_macos_fail_log
path: build/meson-logs/meson-log.txt
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_windows_fail_log
path: build/meson-logs/meson-log.txt
Expand All @@ -212,7 +212,7 @@ jobs:
git fetch --force --tags
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand All @@ -233,7 +233,7 @@ jobs:
- name: Fetch Cached Emscripten SDK
id: emsdk-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.EM_CACHE_FOLDER }}
key: ${{ env.EM_VERSION }}-${{ runner.os }}
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_emscripten_stable_build_log
path: build/meson-logs/meson-log.txt
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:

- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_switch_build_log
path: build/meson-logs/meson-log.txt
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
steps:

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
python-gnupg
- name: Import GPG Key
uses: taisei-project/ghaction-import-gpg@v5
uses: taisei-project/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
scripts/sign-release.py build/linux/Taisei-${{ env.BUILD_VERSION }}-linux-x86_64.tar.xz
- name: Upload Artifact (Binary)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: linux-x86_64-${{ env.BUILD_VERSION }}-txz
Expand All @@ -174,7 +174,7 @@ jobs:
scripts/sign-release.py build/linux/meson-dist/taisei-${{ env.BUILD_VERSION }}.tar.xz
- name: Upload Artifact (Source)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: source-${{ env.BUILD_VERSION }}-txz
Expand All @@ -190,7 +190,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_x64_linux_release_log
path: build/linux/meson-logs/meson-log.txt
Expand All @@ -217,7 +217,7 @@ jobs:
shell: bash

- name: Import GPG Key
uses: taisei-project/ghaction-import-gpg@v5
uses: taisei-project/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
TAISEI_PRELOAD_REQUIRED: ${{ env.TAISEI_PRELOAD_REQUIRED }}

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: macos-universal-${{ env.BUILD_VERSION }}-dmg
Expand All @@ -275,7 +275,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_macos_universal_release_log
path: build-release/*/meson-logs/meson-log.txt
Expand All @@ -288,7 +288,7 @@ jobs:
container: taiseiproject/windows-toolkit:20240304
steps:
- name: Import GPG Key
uses: taisei-project/ghaction-import-gpg@v5
uses: taisei-project/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand Down Expand Up @@ -337,7 +337,7 @@ jobs:
scripts/sign-release.py build/windows/Taisei-${{ env.BUILD_VERSION }}-setup-x86_64.exe
- name: Upload Artifact (EXE)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: windows-x86_64-${{ env.BUILD_VERSION }}-setup-exe
Expand All @@ -350,7 +350,7 @@ jobs:
scripts/sign-release.py build/windows/Taisei-${{ env.BUILD_VERSION }}-windows-x86_64.zip
- name: Upload Artifact (ZIP)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: windows-x86_64-${{ env.BUILD_VERSION }}-zip
Expand All @@ -366,7 +366,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_windows_x64_release_log
path: build/windows/meson-logs/meson-log.txt
Expand All @@ -379,7 +379,7 @@ jobs:
container: taiseiproject/windows-toolkit:20240304
steps:
- name: Import GPG Key
uses: taisei-project/ghaction-import-gpg@v5
uses: taisei-project/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand Down Expand Up @@ -428,7 +428,7 @@ jobs:
scripts/sign-release.py build/windows/Taisei-${{ env.BUILD_VERSION }}-setup-x86.exe
- name: Upload Artifact (EXE)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: windows-x86-${{ env.BUILD_VERSION }}-setup-exe
Expand All @@ -441,7 +441,7 @@ jobs:
scripts/sign-release.py build/windows/Taisei-${{ env.BUILD_VERSION }}-windows-x86.zip
- name: Upload Artifact (ZIP)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: windows-x86-${{ env.BUILD_VERSION }}-zip
Expand All @@ -457,7 +457,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_windows_x86_release_log
path: build/windows/meson-logs/meson-log.txt
Expand All @@ -469,7 +469,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand All @@ -490,7 +490,7 @@ jobs:
python-gnupg
- name: Import GPG Key
uses: taisei-project/ghaction-import-gpg@v5
uses: taisei-project/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand All @@ -504,7 +504,7 @@ jobs:

- name: Fetch Cached Emscripten SDK
id: emsdk-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.EM_CACHE_FOLDER }}
key: ${{ env.EM_VERSION }}-${{ runner.os }}
Expand Down Expand Up @@ -560,7 +560,7 @@ jobs:
scripts/sign-release.py build/emscripten/Taisei-${{ env.BUILD_VERSION }}-emscripten-wasm32.tar.xz
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: emscripten-wasm32-${{ env.BUILD_VERSION }}-txz
Expand All @@ -575,7 +575,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_emscripten_build_log
path: build/emscripten/meson-logs/meson-log.txt
Expand All @@ -588,7 +588,7 @@ jobs:
container: taiseiproject/switch-toolkit:20240305
steps:
- name: Import GPG Key
uses: taisei-project/ghaction-import-gpg@v5
uses: taisei-project/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand Down Expand Up @@ -631,7 +631,7 @@ jobs:
scripts/sign-release.py build/nx/Taisei-${{ env.BUILD_VERSION }}-switch-aarch64.zip
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: switch-aarch64-${{ env.BUILD_VERSION }}-zip
Expand All @@ -646,7 +646,7 @@ jobs:
- name: Upload Log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: taisei_switch_release_log
path: build/nx/meson-logs/meson-log.txt
Expand Down

0 comments on commit ab83abd

Please sign in to comment.