Skip to content

Commit 0402156

Browse files
authored
Update nebula-publish.yml
1 parent e6cefdd commit 0402156

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/nebula-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
tags:
55
- v*.*.*
66
- v*.*.*-rc.*
7+
release:
8+
types:
9+
- created
10+
- prereleased
711

812
jobs:
913
build:
@@ -38,7 +42,7 @@ jobs:
3842
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }}
3943
- name: Publish release
4044
if: (!contains(github.ref, '-rc.'))
41-
run: ./gradlew --info -Dgradle.publish.key=${{ secrets.ORG_GRADLE_PUBLISH_KEY }} -Dgradle.publish.secret=${{ secrets.ORG_GRADLE_PUBLISH_SECRET }} -Prelease.useLastTag=true final
45+
run: ./gradlew --info -Prelease.useLastTag=true final
4246
env:
4347
NETFLIX_OSS_SONATYPE_USERNAME: ${{ secrets.ORG_SONATYPE_USERNAME }}
4448
NETFLIX_OSS_SONATYPE_PASSWORD: ${{ secrets.ORG_SONATYPE_PASSWORD }}

0 commit comments

Comments
 (0)