Skip to content

Commit

Permalink
fix: java home
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuNen344 committed Apr 21, 2023
1 parent e6a50d8 commit baf7954
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/sdkman/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ runs:
fi
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk env install
export JAVA_HOME=$HOME/.sdkman/candidates/java/current
export PATH=$JAVA_HOME/bin:$PATH
echo $JAVA_HOME
echo $PATH
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- uses: actions/checkout@v3
- uses: reviewdog/action-setup@v1
- uses: ./.github/actions/sdkman
- run: sdk version
- uses: gradle/gradle-build-action@v2
with:
arguments: lint detekt
Expand Down

0 comments on commit baf7954

Please sign in to comment.