Skip to content

Commit

Permalink
Fix tag version retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
sbihel committed Mar 6, 2024
1 parent 3446ddf commit 4ad5a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.event.inputs.version }}
VERSION: ${{ github.ref_name }}
- name: Publish package to Central
uses: gradle/gradle-build-action@v2
with:
arguments: publishReleasePublicationToCentralPortal
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
VERSION: ${{ github.event.inputs.version }}
VERSION: ${{ github.ref_name }}

0 comments on commit 4ad5a19

Please sign in to comment.