File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Pack
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up JDK 1.8
13+ uses : actions/setup-java@v1
14+ with :
15+ java-version : 1.8
16+ - name : Run tests
17+ run : mvn test -Dgroups=pipeline --batch-mode
18+ env :
19+ appSid : ${{secrets.appSidProd}}
20+ appKey : ${{secrets.appKeyProd}}
21+ apiBaseUrl : " https://api.aspose.cloud"
22+ - name : Pack
23+ run : |
24+ mvn package -DskipTests --batch-mode
25+ cp pom.xml aspose-email-cloud-0.0.1.pom
26+ - name : Zip
27+ uses : montudor/action-zip@v0.1.0
28+ with :
29+ args : zip -qq -r ./package.zip ./target/*.jar aspose-email-cloud-0.0.1.pom
30+ - name : Upload artifact
31+ uses : actions/upload-artifact@v1
32+ with :
33+ name : package
34+ path : package.zip
You can’t perform that action at this time.
0 commit comments