Commit cf23b71 1 parent f3fb2cb commit cf23b71 Copy full SHA for cf23b71
File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ publish :
10
+
11
+ runs-on : macOS-latest
12
+ if : github.repository == 'afreakyelf/Pdf-Viewer'
13
+
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+
18
+ - name : Install JDK 17
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ distribution : ' zulu'
22
+ java-version : 17
23
+
24
+ - name : Setup gradle
25
+ uses : gradle/gradle-build-action@v2
26
+
27
+ - name : Publish release
28
+ run : ./gradlew publishAllPublicationsToMavenCentralRepository
29
+ env :
30
+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
31
+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
32
+ ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_PRIVATE_KEY }}
33
+ ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PASSWORD }}
You can’t perform that action at this time.
0 commit comments