Skip to content

Commit

Permalink
Additional modifications for the workflow dispatch run
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
  • Loading branch information
rbarkerSL committed May 16, 2024
1 parent fa123b3 commit 5517350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: tag
run: echo "version=${GITHUB_REF#refs/tags/v}" >> "${GITHUB_OUTPUT}"

- name: Retrieve Tag Version
- name: Retrieve Tag Version (dispatch)
if: ${{ github.event_name == 'workflow_dispatch' }}
id: workflow_tag
run: echo "version=${{github.event.inputs.version}}" >> "${GITHUB_OUTPUT}"
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
exit 1
fi
- name: Validate Release
- name: Validate Release (dispatch)
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
if [[ "${{ steps.workflow_tag.outputs.version }}" != "${{ steps.project.outputs.version }}" ]]; then
Expand Down

0 comments on commit 5517350

Please sign in to comment.