Skip to content

Commit

Permalink
fix release action (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Feb 7, 2021
1 parent 40d335c commit dc316f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:11})
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 8
- name: Release to Sonatype
run: ./gradlew -Prelease.version=$RELEASE_VERSION publish
run: ./gradlew -Prelease.version=${GITHUB_REF:11} publish
env:
ORG_GRADLE_PROJECT_nexusUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_nexusPassword: ${{ secrets.NEXUS_PASSWORD }}
Expand Down

0 comments on commit dc316f6

Please sign in to comment.