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 49fce88 commit 8a08bc6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/actions/sdkman/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ runs:
- name: setup sdkman
shell: bash
run: |
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk env install
source ~/.bashrc
source ~/.zshrc
export JAVA_HOME=$HOME/.sdkman/candidates/java/current
export PATH=$JAVA_HOME/bin:$PATH
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
- uses: actions/cache/save@v3
with:
Expand Down

0 comments on commit 8a08bc6

Please sign in to comment.