Skip to content

Commit

Permalink
Fix: export RELEASE_VERSION instead of setting it as env in yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Dec 15, 2024
1 parent 9cd65f3 commit 0c1fa09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ jobs:
working-directory: ./java

- name: Publish Java release
run: gradle publish
run: |
export RELEASE_VERSION=$(echo "${{ github.ref_name }}" | cut -c2-)
gradle publish
working-directory: ./java
env:
RELEASE_VERSION: ${GITHUB_REF_NAME:1}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0c1fa09

Please sign in to comment.