File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Snapshot"
2+ on :
3+ push :
4+ workflow_dispatch :
5+
6+ jobs :
7+ release :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout repo
11+ uses : actions/checkout@v2
12+
13+ - uses : actions/setup-java@v3
14+ with :
15+ distribution : ' temurin' # This is the Ubuntu Default
16+ java-version : ' 17'
17+
18+ - name : Build library
19+ run : ' bash ./gradlew clean :library:assembleRelease'
20+
21+ - name : Release library
22+ env :
23+ MOBILE_MAVENCENTRAL_USER : ${{ secrets.MOBILE_MAVENCENTRAL_USER }}
24+ MOBILE_MAVENCENTRAL_PASSWORD : ${{ secrets.MOBILE_MAVENCENTRAL_PASSWORD }}
25+ ORG_GRADLE_PROJECT_signingKey : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
26+ ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
27+ ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
28+ run : " bash ./gradlew publishReleasePublicationToSonatypeRepository -DSNAPSHOT_VERSION=1.0.0 publishNoopPublicationToSonatypeRepository -DSNAPSHOT_VERSION=1.0.0
29+ --max-workers 1 closeAndReleaseStagingRepositories"
You can’t perform that action at this time.
0 commit comments