Skip to content

Commit 81efbd2

Browse files
committed
use java 25 in check-docs.yml
1 parent 9e7fa34 commit 81efbd2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/check-docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@ jobs:
1919
go-version-file: src/go.mod
2020
cache-dependency-path: src/go.sum
2121

22-
- name: Install Java
23-
run: sudo apt update && sudo apt install -y openjdk-25-jdk
24-
2522
- name: Regenerate docs
2623
working-directory: src
2724
run: go run github.com/swaggo/swag/cmd/swag@v1.16.6 init --requiredByDefault
2825

2926
- name: Build json schemas
3027
run: |
28+
export JAVA_HOME="$JAVA_HOME_25_X64"
29+
export PATH="$JAVA_HOME/bin:$PATH"
3130
SIGNAL_CLI_VERSION="$(grep -m1 '^ARG SIGNAL_CLI_VERSION=' Dockerfile | cut -d= -f2)"
3231
git clone --depth 1 --branch v${SIGNAL_CLI_VERSION} https://github.com/AsamK/signal-cli/ signal-cli
3332
cd signal-cli

0 commit comments

Comments
 (0)