File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish snapshot
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - main
8
+ - ray/ui-update
9
+
10
+ jobs :
11
+ publish-snapshot :
12
+ runs-on : ubuntu-latest
13
+ if : github.repository == 'square/workflow-kotlin'
14
+ timeout-minutes : 25
15
+
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - uses : gradle/wrapper-validation-action@v1
19
+ - name : set up JDK 11.0.7
20
+ uses : actions/setup-java@v1
21
+ with :
22
+ java-version : 11.0.7
23
+
24
+ - name : Publish Snapshots
25
+ run : ./gradlew clean build && ./gradlew publish --no-parallel --no-daemon
26
+ env :
27
+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
28
+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
You can’t perform that action at this time.
0 commit comments