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 288fede commit 9ea4ffb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@ jobs:
# JRE拷贝到前端静态目录
- name: Copy JRE to static directory
run: |
mkdir -p chat2db-client/static/jre
cp -r "$JAVA_HOME" chat2db-client/static/jre
if [ "${{ runner.os }}" = "Windows" ]; then
cp -r ${{ env.JAVA_HOME }} chat2db-client/static/jre
else
cp -r $JAVA_HOME chat2db-client/static/jre
mkdir -p chat2db-client/static
cp -r "$JAVA_HOME"/jre chat2db-client/static/jre
if [ "${{ runner.os }}" != "Windows" ]; then
chmod -R 777 chat2db-client/static/jre
fi
shell: bash
Expand Down

0 comments on commit 9ea4ffb

Please sign in to comment.