Skip to content

Commit

Permalink
ci: fail if VERSION file is not created
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <[email protected]>
  • Loading branch information
leninmehedy committed Oct 30, 2023
1 parent cb2dc20 commit 57e5622
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/flow-deploy-release-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ jobs:

- name: Extract Version
id: tag
run: echo "version=$(cat VERSION | tr -d '[:space:]')" >> ${GITHUB_OUTPUT}
run: |
if [[ ! -f "${VERSION}" ]]; exit 1 # error on missing VERSION file
echo "version=$(cat VERSION | tr -d '[:space:]')" >> ${GITHUB_OUTPUT}
publish-maven-central:
name: Publish
Expand Down

0 comments on commit 57e5622

Please sign in to comment.