File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish To Maven
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ - name : set up JDK 8
13+ uses : actions/setup-java@v3
14+ with :
15+ java-version : ' 8'
16+ distribution : ' corretto'
17+ cache : gradle
18+ - name : Config properties
19+ run : |
20+ echo "nexusUsername=${{ vars.NEXUS_USERNAME }}" >> key.properties
21+ echo "nexusPassword=${{ secrets.NEXUS_PASSWORD }}" >> key.properties
22+ echo "signing.keyId=${{ vars.SIGNING_KEY_ID }}" >> key.properties
23+ echo "signing.password=${{ secrets.SIGNING_PASSWORD }}" >> key.properties
24+ echo "signing.inMemoryKey=${{ secrets.SIGNING_IN_MEMORY_KEY }}" >> key.properties
25+ - name : Grant execute permission for gradlew
26+ run : chmod +x gradlew
27+ - name : Assemble release
28+ run : ./gradlew assembleRelease
29+ - name : Publish to maven
30+ run : ./gradlew publish -p clickstream
You can’t perform that action at this time.
0 commit comments