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:
11
11
12
12
steps :
13
13
- uses : actions/checkout@v2
14
+ # Build release
14
15
- name : Set up JDK 11
15
16
uses : actions/setup-java@v1
16
17
with :
17
18
java-version : 11
18
19
- name : Build app with Gradle
19
20
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
21
30
- uses : actions/checkout@v2
22
31
- name : Copy app to server
23
32
26
35
username : ${{ secrets.SSH_USER }}
27
36
password : ${{ secrets.SSH_PASS }}
28
37
port : ${{ secrets.SSH_PORT }}
29
- source : " build/libs/SimilarImagesBot-1.0.2-all.jar "
38
+ source : " build/libs/"
30
39
target : " bots/similar-images-bot"
You can’t perform that action at this time.
0 commit comments