Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
  • Loading branch information
jpadams committed Dec 22, 2024
1 parent 909500b commit 6d98f3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ runs:
COMMIT=${{ inputs.commit }}
if [[ -x "$(command -v dagger)" ]]; then
pre-installed-version="$(dagger --silent version | cut --fields 2 --delimiter ' ')"
if [[ "$pre-installed-version" != "$DAGGER_VERSION" ]]; then
echo "dagger ${pre-installed-version} is installed, but needed ${DAGGER_VERSION}"
pre_installed_version="$(dagger --silent version | cut --fields 2 --delimiter ' ')"
if [[ "$pre_installed_version" != "$DAGGER_VERSION" ]]; then
echo "dagger ${pre_installed_version} is installed, but needed ${DAGGER_VERSION}"
exit 1
fi
else
Expand Down

0 comments on commit 6d98f3a

Please sign in to comment.