Skip to content

Commit

Permalink
Use tag instead of version
Browse files Browse the repository at this point in the history
  • Loading branch information
cdivitotawela committed Sep 25, 2024
1 parent 3e6f67a commit 7f4f7ff
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 7f4f7ff

Please sign in to comment.