Skip to content

Commit a5cd3c8

Browse files
author
gopi2401
committed
fix: update Java version to 21 in build workflow and ensure workflow file is tracked on push and pull request events
1 parent f27bf07 commit a5cd3c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ name: Build
33
on:
44
push:
55
paths:
6+
- ".github/workflows/build.yml"
67
- "android/**"
78
- "lib/**"
89
- "pubspec.yaml"
910
branches:
1011
- main
1112
pull_request:
1213
paths:
14+
- ".github/workflows/build.yml"
1315
- "android/**"
1416
- "lib/**"
1517
- "pubspec.yaml"
@@ -30,7 +32,7 @@ jobs:
3032
# Setup Java environment for Android build
3133
- uses: actions/setup-java@v4
3234
with:
33-
java-version: "17"
35+
java-version: "21"
3436
distribution: "adopt"
3537
cache: "gradle"
3638

0 commit comments

Comments
 (0)