Skip to content

Commit

Permalink
Fix for version compare step?
Browse files Browse the repository at this point in the history
Signed-off-by: Katelyn Nienaber <katelyn.nienaber@broadcom.com>
  • Loading branch information
katelynienaber committed Aug 24, 2021
1 parent 0e7fe39 commit 18b48f2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,12 @@ jobs:
# id: check_project

- name: Check version is bumped
run: "echo ::set-output name=version_bumped::$(fromJson(steps.get_version.outputs.top_package).version !== v + steps.get_gh_version.outputs.gh_version || echo $?)"
run: |
if [[ fromJson(steps.get_version.outputs.top_package).version !== v + steps.get_gh_version.outputs.gh_version ]]; then
echo "::set-output name=version_bumped::true"
else
echo "::set-output name=version_bumped::false"
fi
id: check_project

# Each individual action should git-add the desired files
Expand Down

0 comments on commit 18b48f2

Please sign in to comment.