Skip to content

Commit ad16fe1

Browse files
committed
ci: move GitHub Actions to their Node.js 24 majors
GitHub forces Node.js 20 actions onto Node.js 24 and flags them as deprecated on every run. Changes: - .github/workflows/ci.yml: actions/checkout@v7, actions/setup-java@v6, gradle/actions/setup-gradle@v6, actions/upload-artifact@v7 - .github/workflows/release.yml: actions/checkout-free release-please-action@v5 (only breaking change: Node.js 24; inputs unchanged) Tests: both workflows parse; CI on PR #3 runs with the new versions.
1 parent e430cd3 commit ad16fe1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Version / Changelog
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v7
2222
- name: Top CHANGELOG.md entry matches the release manifest
2323
run: |
2424
version=$(jq -r '."."' .release-please-manifest.json)
@@ -33,12 +33,12 @@ jobs:
3333
name: Lint, test, API check, build
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v4
37-
- uses: actions/setup-java@v4
36+
- uses: actions/checkout@v7
37+
- uses: actions/setup-java@v6
3838
with:
3939
distribution: corretto
4040
java-version: 17
41-
- uses: gradle/actions/setup-gradle@v4
41+
- uses: gradle/actions/setup-gradle@v6
4242
# Samsung's license forbids redistributing the SDK, so the real AAR lives in the private repository
4343
# kvs-coder/samsung-health-sdk, read with a read-only deploy key. Without the key (fork PRs), the build uses
4444
# the samsung-health-data-stub module written from the SDK's API reference.
@@ -72,7 +72,7 @@ jobs:
7272
run: ./gradlew :library:assembleRelease :app:assembleDebug
7373
- name: Upload reports
7474
if: always()
75-
uses: actions/upload-artifact@v4
75+
uses: actions/upload-artifact@v7
7676
with:
7777
name: reports
7878
path: |

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
release-please:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: googleapis/release-please-action@v4
15+
- uses: googleapis/release-please-action@v5
1616
with:
1717
config-file: release-please-config.json
1818
manifest-file: .release-please-manifest.json

0 commit comments

Comments
 (0)