Skip to content

Commit

Permalink
chore: Optimize action
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryFan626 committed Nov 12, 2023
1 parent 51db808 commit 288fede
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ jobs:
run: |
mkdir -p chat2db-client/static/jre
cp -r "$JAVA_HOME" chat2db-client/static/jre
if [ "${{ runner.os }}" != "Windows" ]; then
if [ "${{ runner.os }}" = "Windows" ]; then
cp -r ${{ env.JAVA_HOME }} chat2db-client/static/jre
else
cp -r $JAVA_HOME chat2db-client/static/jre
chmod -R 777 chat2db-client/static/jre
fi
shell: bash
Expand Down

0 comments on commit 288fede

Please sign in to comment.