Skip to content

Commit

Permalink
Migrate workflow files to use supported versions of GitHub Actions de…
Browse files Browse the repository at this point in the history
…pendencies

GitHub Actions based on NodeJS 16.x are being faced out. These updated versions are based on the newer NodeJS 20.x runtime. Fixes #1173
  • Loading branch information
IsakTheHacker committed Jun 7, 2024
1 parent 6b8df98 commit 55b1f0b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description:
runs:
using: composite
steps:
- uses: actions/setup-python@v4.6.1
- uses: actions/setup-python@v5.1.0
with:
# This should include all major.minor versions supported by the runtime, plus
# OLD_BUILD_PYTHON_VERSION, MIN_BUILD_PYTHON_VERSION and
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
product:
runs-on: ubuntu-20.04
steps:
- uses: smorimoto/tune-github-hosted-runner-network@v1
- uses: actions/checkout@v3.5.3
- uses: smorimoto/tune-github-hosted-runner-network@v1.0.0
- uses: actions/checkout@v4.1.6

- uses: ./.github/actions/setup-python
id: setup-python
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
./gradlew publish -P cmakeBuildType=Release
- name: Upload Maven repository
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.3.3
with:
name: maven
# There's a fairly large per-file overhead, so exclude the hash files.
Expand Down Expand Up @@ -74,8 +74,8 @@ jobs:
docs:
runs-on: ubuntu-20.04
steps:
- uses: smorimoto/tune-github-hosted-runner-network@v1
- uses: actions/checkout@v3.5.3
- uses: smorimoto/tune-github-hosted-runner-network@v1.0.0
- uses: actions/checkout@v4.1.6

- uses: ./.github/actions/setup-python
id: setup-python
Expand All @@ -93,7 +93,7 @@ jobs:
cd product
./gradlew docs
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.3
with:
name: docs
path: |
Expand All @@ -105,8 +105,8 @@ jobs:
gradlePython:
runs-on: ubuntu-20.04
steps:
- uses: smorimoto/tune-github-hosted-runner-network@v1
- uses: actions/checkout@v3.5.3
- uses: smorimoto/tune-github-hosted-runner-network@v1.0.0
- uses: actions/checkout@v4.1.6

- uses: ./.github/actions/setup-python

Expand All @@ -122,13 +122,13 @@ jobs:
needs: [product]
runs-on: ubuntu-20.04
steps:
- uses: smorimoto/tune-github-hosted-runner-network@v1
- uses: actions/checkout@v3.5.3
- uses: smorimoto/tune-github-hosted-runner-network@v1.0.0
- uses: actions/checkout@v4.1.6

- uses: ./.github/actions/setup-python

- name: Download Maven repository
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.7
with:
name: maven
path: maven
Expand All @@ -145,7 +145,7 @@ jobs:
export JAVA_HOME=$JAVA_HOME_17_X64
./gradlew assembleRelease
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.3
with:
name: demo
path: demo/app/build/outputs/apk/release
Expand All @@ -171,14 +171,14 @@ jobs:

runs-on: ${{ matrix.runs-on }}
steps:
- uses: smorimoto/tune-github-hosted-runner-network@v1
- uses: actions/checkout@v3.5.3
- uses: smorimoto/tune-github-hosted-runner-network@v1.0.0
- uses: actions/checkout@v4.1.6

- uses: ./.github/actions/setup-python
id: setup-python

- name: Download Maven repository
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4.1.7
with:
name: maven
path: maven
Expand Down

0 comments on commit 55b1f0b

Please sign in to comment.