File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,22 @@ jobs:
1111
1212 steps :
1313 - uses : actions/checkout@v2
14+ # Build release
1415 - name : Set up JDK 11
1516 uses : actions/setup-java@v1
1617 with :
1718 java-version : 11
1819 - name : Build app with Gradle
1920 run : chmod +x gradlew && ./gradlew shadowJar
20-
21+ # Download from build to data
22+ - uses : actions/upload-artifact@v2
23+ with :
24+ path : build/libs/*.jar
25+ # TODO remove
26+ - name : Display structure of downloaded files
27+ run : ls -R
28+ working-directory : build/libs
29+ # Upload from data to production server
2130 - uses : actions/checkout@v2
2231 - name : Copy app to server
23322635 username : ${{ secrets.SSH_USER }}
2736 password : ${{ secrets.SSH_PASS }}
2837 port : ${{ secrets.SSH_PORT }}
29- source : " build/libs/SimilarImagesBot-1.0.2-all.jar "
38+ source : " build/libs/"
3039 target : " bots/similar-images-bot"
You can’t perform that action at this time.
0 commit comments