Skip to content

Commit b61d04a

Browse files
update github action
1 parent edbe8c4 commit b61d04a

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.github/workflows/upgrade.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ jobs:
1717
- name: Setup Tools
1818
uses: ./.github/actions/setup-tools
1919

20+
- name: List installed Java versions
21+
run: /usr/libexec/java_home -V
22+
23+
- name: Set Java 17
24+
run: |
25+
export JAVA_HOME=$(/usr/libexec/java_home -v 17)
26+
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
27+
java -version
28+
2029
- name: Verify Java version
2130
run: java -version
2231

@@ -32,23 +41,13 @@ jobs:
3241
run: pnpm install --no-frozen-lockfile
3342
working-directory: .
3443

35-
36-
37-
- name: Debug plugin build
38-
working-directory: plugin
39-
run: |
40-
echo "Listing plugin contents..."
41-
ls -la
42-
echo "Node version:"
43-
node -v
44-
echo "PNPM version:"
45-
pnpm -v
46-
echo "Running build manually to show full logs..."
47-
pnpm run build --reporter ndjson --stream
48-
4944
- name: Build project
5045
run: pnpm run build
5146
working-directory: .
47+
48+
- name: Plugin build
49+
working-directory: plugin
50+
run: pnpm run build
5251

5352
- name: Build Android
5453
working-directory: plugin/android

0 commit comments

Comments
 (0)