diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 1d6161a500b..6a0ca3b72fc 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -1,11 +1,11 @@ name: Draft Release -run-name: draft-release-${{ inputs.version }} +run-name: draft-release-${{ inputs.tag }} on: workflow_dispatch: inputs: - version: + tag: required: true env: @@ -16,7 +16,7 @@ jobs: validate: runs-on: ubuntu-22.04 env: - RELEASE_NAME: "${{ inputs.version }}" + RELEASE_NAME: "${{ inputs.tag }}" steps: - name: Pre-process Release Name id: pre_process_release_name @@ -241,6 +241,8 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + with: + ref: ${{ env.RELEASE_NAME }} - name: Set up Java uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 @@ -346,6 +348,7 @@ jobs: uses: gradle/actions/setup-gradle@9e899d11ad247ec76be7a60bc1cf9d3abbb9e7f1 with: cache-disabled: true + - name: Artifactory Publish env: ARTIFACTORY_USER: ${{ secrets.BESU_ARTIFACTORY_USER }}