Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
wyt1215819315 committed Dec 14, 2023
1 parent ae61522 commit 2a8fb73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ jobs:
- run: wget https://corretto.aws/downloads/latest/amazon-corretto-17-x64-windows-jdk.zip && unzip amazon-corretto-17-x64-windows-jdk.zip -d amazon-corretto-17-x64-windows-jdk
- run: find ./amazon-corretto-17-x64-windows-jdk -maxdepth 1 -type d -name 'jdk17*' -exec cp -r {} build/Windows_x64/jdk \;
- run: cp target/auto_plan.jar build/Linux_x64 && cp target/auto_plan.jar build/Linux_aarch64 && cp target/auto_plan.jar build/Windows_x64
- run: cp script/start.sh build/Linux_x64 && cp script/start.sh build/Linux_aarch64 && cp script/start.sh build/Windows_x64
- run: cp script/start.sh build/Linux_x64 && cp script/start.sh build/Linux_aarch64 && cp script/start.bat build/Windows_x64
- run: cp docs/application-example.yml build/Linux_x64 && cp docs/application-example.yml build/Linux_aarch64 && cp docs/application-example.yml build/Windows_x64
- run: tar -czvf build/auto_plan_linux_x64.tar.gz build/Linux_x64/
- run: tar -czvf build/auto_plan_linux_aarch64.tar.gz build/Linux_aarch64/
- run: zip -r build/auto_plan_windows_x64.zip build/Windows_x64/
Expand Down
1 change: 1 addition & 0 deletions script/start.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jdk/bin/java -jar auto_plan.jar --spring.profiles.active=example
3 changes: 3 additions & 0 deletions script/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

jdk/bin/java -jar auto_plan.jar --spring.profiles.active=example

0 comments on commit 2a8fb73

Please sign in to comment.