File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed
Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 66 library :
77 runs-on : [ self-hosted-org, linux ]
88 container :
9- image : docker://docker.tuenti.io/android/novum_android:12
9+ image : docker://docker.tuenti.io/android/novum_android:13
1010 steps :
1111 - name : Checkout repo
1212 uses : actions/checkout@v4
2525 plugin :
2626 runs-on : [ self-hosted-org, linux ]
2727 container :
28- image : docker://docker.tuenti.io/android/novum_android:12
28+ image : docker://docker.tuenti.io/android/novum_android:13
2929 steps :
3030 - name : Checkout repo
3131 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ name : " Create snapshot"
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ snapshot-version :
6+ description : " Snapshot version"
7+ required : true
8+ jobs :
9+ library :
10+ runs-on : [ self-hosted-org, linux ]
11+ container :
12+ image : docker://docker.tuenti.io/android/novum_android:13
13+ steps :
14+ - name : Checkout repo
15+ uses : actions/checkout@v4
16+
17+ - name : Publish library snapshot
18+ env :
19+ MOBILE_MAVENCENTRAL_USER : ${{ secrets.MOBILE_MAVENCENTRAL_USER }}
20+ MOBILE_MAVENCENTRAL_PASSWORD : ${{ secrets.MOBILE_MAVENCENTRAL_PASSWORD }}
21+ ORG_GRADLE_PROJECT_signingKey : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
22+ ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
23+ ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
24+ NEXUS_USER : ${{ secrets.NEXUS_RELEASE_USER }}
25+ NEXUS_PASS : ${{ secrets.NEXUS_RELEASE_PASSWORD }}
26+ run : |
27+ ./gradlew publishReleasePublicationToSnapshotsRepository -DLIBRARY_VERSION=${{ github.event.inputs.snapshot-version }}-SNAPSHOT
28+ plugin :
29+ runs-on : [ self-hosted-org, linux ]
30+ container :
31+ image : docker://docker.tuenti.io/android/novum_android:13
32+ steps :
33+ - name : Checkout repo
34+ uses : actions/checkout@v4
35+
36+ - name : Publish plugin snapshot
37+ env :
38+ GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_PUBLISH_KEY }}
39+ GRADLE_PUBLISH_SECRET : ${{ secrets.GRADLE_PUBLISH_SECRET }}
40+ NEXUS_USER : ${{ secrets.NEXUS_RELEASE_USER }}
41+ NEXUS_PASS : ${{ secrets.NEXUS_RELEASE_PASSWORD }}
42+ run : |
43+ cd include-build
44+ ../gradlew publishGradlePluginPublicationToMavenRepository -DLIBRARY_VERSION=${{ github.event.inputs.snapshot-version }}-SNAPSHOT
You can’t perform that action at this time.
0 commit comments