Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuNen344 committed Apr 21, 2023
1 parent fe76d78 commit fa3b2ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/actions/sdkman/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ runs:
- name: setup sdkman
shell: bash
run: |
source "$HOME/.sdkman/bin/sdkman-init.sh" && sdk env install
echo JAVA_HOME=$HOME/.sdkman/candidates/java/current >> $GITHUB_PATH
echo PATH=$JAVA_HOME/bin:$PATH >> $GITHUB_PATH
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk env install
which sdk >> $GITHUB_PATH
echo $HOME/.sdkman/candidates/java/current >> $GITHUB_PATH
- if: ${{ steps.cache-sdkman.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v3
Expand Down
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 fa3b2ca

Please sign in to comment.