Skip to content

Commit

Permalink
[CI] Fix condition in system test (#2302)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch committed Aug 25, 2022
1 parent a5d2639 commit 209c19e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/system-tests-enterprise.yml
Expand Up @@ -77,7 +77,9 @@ jobs:
run: |
echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})"
- name: Extract git hash from action mlrun version
if: ${{ github.event.inputs.test_code_from_action == 'true' }}
# by default when running as part of the CI this param doesn't get enriched meaning it will be empty.
# we want the mlrun_hash to be set from the $GITHUB_SHA when running in CI
if: ${{ github.event.inputs.test_code_from_action != 'false' }}
id: git_action_info
run: |
echo "::set-output name=mlrun_hash::$(git rev-parse --short=8 $GITHUB_SHA)"
Expand Down

0 comments on commit 209c19e

Please sign in to comment.