Skip to content

Commit 4732f5d

Browse files
author
OpenCode Bot
committed
ci: fix workflow - use setup-java provided JAVA_HOME
1 parent 6e7404c commit 4732f5d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ on:
55
tags:
66
- 'v*'
77
workflow_dispatch:
8-
inputs:
9-
version:
10-
description: 'Version tag (e.g., v1.3.2)'
11-
required: true
12-
type: string
138

149
jobs:
1510
build:
@@ -38,11 +33,6 @@ jobs:
3833
- name: Grant execute permission
3934
run: chmod +x gradlew
4035

41-
- name: Find Java
42-
run: |
43-
echo "JAVA_HOME=$(dirname $(dirname $(which java)))" >> $GITHUB_ENV
44-
echo "PATH=$(dirname $(which java)):$PATH" >> $GITHUB_ENV
45-
4636
- name: Build Release APK
4737
run: ./gradlew assembleRelease --no-daemon 2>&1
4838

0 commit comments

Comments
 (0)