Skip to content

Commit

Permalink
Update nebula-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbakker authored Mar 10, 2021
1 parent e6cefdd commit 0402156
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/nebula-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
tags:
- v*.*.*
- v*.*.*-rc.*
release:
types:
- created
- prereleased

jobs:
build:
Expand Down Expand Up @@ -38,7 +42,7 @@ jobs:
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }}
- name: Publish release
if: (!contains(github.ref, '-rc.'))
run: ./gradlew --info -Dgradle.publish.key=${{ secrets.ORG_GRADLE_PUBLISH_KEY }} -Dgradle.publish.secret=${{ secrets.ORG_GRADLE_PUBLISH_SECRET }} -Prelease.useLastTag=true final
run: ./gradlew --info -Prelease.useLastTag=true final
env:
NETFLIX_OSS_SONATYPE_USERNAME: ${{ secrets.ORG_SONATYPE_USERNAME }}
NETFLIX_OSS_SONATYPE_PASSWORD: ${{ secrets.ORG_SONATYPE_PASSWORD }}
Expand Down

0 comments on commit 0402156

Please sign in to comment.