Skip to content

Commit

Permalink
feat: update push_swagger (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
lok52 authored Nov 8, 2024
1 parent 742f765 commit 8f7f08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_push_swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Get the current tag, branch, or commit hash
id: git_info
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ ! -z "${{ inputs.version }}" ]; then
echo "version=${{ inputs.version }}" >> $GITHUB_ENV
else
if [[ "${GITHUB_REF}" =~ refs/tags/${{ inputs.service_name }}/v[0-9]+\.[0-9]+\.[0-9]+ ]]; then
Expand Down

0 comments on commit 8f7f08f

Please sign in to comment.