Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
R0bbyYT committed Aug 17, 2024
1 parent c0f2c3d commit 1385a23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:

- name: Echo exact java version being used
run: java -version
- name: Get Tag Name
id: tag_name
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand All @@ -33,4 +36,4 @@ jobs:
run: ./gradlew publish
env:
PUBLISH_TOKEN: ${{secrets.MAVEN_PUBLISH_TOKEN}}
VERSION: ${GITHUB_REF#refs/tags/}
VERSION: ${{steps.tag_name.outputs.VERSION}}

0 comments on commit 1385a23

Please sign in to comment.