File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed
Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Gradle
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+ name : Snapshot Release
5+
6+ on :
7+ push :
8+ tags :
9+ - v[0-9]+.[0-9]+.[0-9]+-SNAPSHOT
10+ - v[0-9]+.[0-9]+.[0-9]+-[0-9a-zA-Z]+-SNAPSHOT
11+ - v[0-9]+.[0-9]+.[0-9]+-[0-9a-zA-Z]+-[0-9a-zA-Z]+-SNAPSHOT
12+
13+ jobs :
14+ release :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Cancel previous workflow runs
18+ uses : styfle/cancel-workflow-action@0.9.1
19+ with :
20+ access_token : ${{ github.token }}
21+
22+ - uses : actions/checkout@v2
23+ with :
24+ submodules : recursive
25+
26+ - name : Set up JDK 11
27+ uses : actions/setup-java@v1
28+ with :
29+ java-version : 11
30+
31+ - name : Decode & Generate Settings.xml file
32+ run : echo $SETTINGS_FILE | base64 -di > ~/.m2/settings.xml
33+ env :
34+ SETTINGS_FILE : ${{ secrets.SETTINGS_XML }}
35+
36+ - name : Generate & upload library snapshot artifact JAR (Java Archive) file
37+ run : mvn clean deploy -Dmaven.test.skip=true --no-transfer-progress
38+
39+ - name : Github Release
40+ uses : softprops/action-gh-release@v1
41+ with :
42+ prerelease : ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') }}
Original file line number Diff line number Diff line change 77 <artifactId >opensrp-server-interface</artifactId >
88 <packaging >jar</packaging >
99
10- <version >2.0.1 -SNAPSHOT</version >
10+ <version >2.0.2 -SNAPSHOT</version >
1111
1212 <name >opensrp-server-interface</name >
1313 <description >OpenSRP Server Interface module</description >
You can’t perform that action at this time.
0 commit comments