Skip to content

Commit

Permalink
Use intermediate variable for publish version (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Dec 21, 2024
1 parent 7a5e5bb commit a35ed88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
publish:
name: "Publish"
runs-on: ubuntu-latest
env:
VERSION: ${{ github.event.inputs.publish_version }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -21,7 +23,7 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Publish
run: ./gradlew publish -PbuildServer -PpublishVersion=${{ github.event.inputs.publish_version }}
run: ./gradlew publish -PbuildServer -PpublishVersion="$VERSION"
env:
RUN_AZURE_ARTIFACTORY_RELEASE: "TRUE"
ARTIFACTORY_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
Expand Down

0 comments on commit a35ed88

Please sign in to comment.