Skip to content

Commit

Permalink
fix: display garden version correctly
Browse files Browse the repository at this point in the history
Currently the action prints the output of "garden version" when using Garden 0.13 at the beginning, instead of the version.

In 0.13 we removed the `-v/--version` flag and now it can only be queried using `garden version`.
 
This also works for Garden 0.12.
  • Loading branch information
stefreak authored Oct 10, 2023
1 parent 1297510 commit 66a88d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ runs:
# Create new symlink, or overwrite existing
ln -sfn "$garden_version" bin
echo "Using garden version $(bin/garden --version)"
echo "Using garden version $(bin/garden version)"
echo "$GARDEN_DIR/bin" >> "$GITHUB_PATH"
- name: run garden
if: inputs.command
Expand Down

0 comments on commit 66a88d3

Please sign in to comment.