GeezerVison is showing github.com — - push plugin to local maven repository as fallback if new version is… · max2max4u/AboutLibraries@9c4469b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml +13-12Lines changed: 13 additions & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
33 | 33 | restore-keys: | |
34 | 34 | gradle-${{ runner.os }}- |
35 | 35 |
|
36 | | - - name: Prepare Gradle Publish properties |
37 | | - if: startsWith(github.ref, 'refs/tags/') |
38 | | - run: | |
39 | | - echo "gradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}" >> ~/.gradle/gradle.properties |
40 | | - echo "gradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}" >> ~/.gradle/gradle.properties |
41 | | - echo "NEXUS_USERNAME=${{ secrets.NEXUS_USERNAME }}" >> ~/.gradle/gradle.properties |
42 | | - echo "NEXUS_PASSWORD=${{ secrets.NEXUS_PASSWORD }}" >> ~/.gradle/gradle.properties |
43 | | -
|
44 | | - - name: Relase Plugin |
45 | | - if: startsWith(github.ref, 'refs/tags/') |
46 | | - run: | |
47 | | - ./gradlew plugin:publishPlugins | true |
| 36 | + - name: Publish plugin locally |
| 37 | + run: ./gradlew plugin:publishToMavenLocal |
48 | 38 |
|
49 | 39 | - name: Build Debug |
50 | 40 | run: ./gradlew clean app:assembleDebug |
|
85 | 75 | if: startsWith(github.ref, 'refs/tags/') |
86 | 76 | run: ./gradlew app:assembleStaging app:assembleRelease app:bundleRelease |
87 | 77 |
|
| 78 | + - name: Prepare Gradle Publish properties |
| 79 | + if: startsWith(github.ref, 'refs/tags/') |
| 80 | + run: | |
| 81 | + echo "gradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}" >> ~/.gradle/gradle.properties |
| 82 | + echo "gradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}" >> ~/.gradle/gradle.properties |
| 83 | +
|
| 84 | + - name: Relase Plugin |
| 85 | + if: startsWith(github.ref, 'refs/tags/') |
| 86 | + run: | |
| 87 | + ./gradlew plugin:publishPlugins | true |
| 88 | +
|
88 | 89 | - name: Relase bintray |
89 | 90 | if: startsWith(github.ref, 'refs/tags/') |
90 | 91 | run: | |
|