File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Publish snapshot to NetflixOSS and Maven Central"
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - ' release/**'
8+ - ' feature/**'
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ with :
16+ fetch-depth : 0
17+ - name : Set up JDK
18+ uses : actions/setup-java@v1
19+ with :
20+ java-version : 8
21+ - uses : actions/cache@v2
22+ id : gradle-cache
23+ with :
24+ path : |
25+ ~/.gradle/caches
26+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
27+ - uses : actions/cache@v2
28+ id : gradle-wrapper-cache
29+ with :
30+ path : |
31+ ~/.gradle/wrapper
32+ key : ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }}
33+ - name : Build
34+ run : ./gradlew build snapshot
35+ env :
36+ NETFLIX_OSS_SIGNING_KEY : ${{ secrets.ORG_SIGNING_KEY }}
37+ NETFLIX_OSS_SIGNING_PASSWORD : ${{ secrets.ORG_SIGNING_PASSWORD }}
38+ NETFLIX_OSS_REPO_USERNAME : ${{ secrets.ORG_NETFLIXOSS_USERNAME }}
39+ NETFLIX_OSS_REPO_PASSWORD : ${{ secrets.ORG_NETFLIXOSS_PASSWORD }}
You can’t perform that action at this time.
0 commit comments