mirror of
https://github.com/dagger/dagger-for-github.git
synced 2025-12-31 04:30:01 +11:00
fix
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
This commit is contained in:
parent
55c36bff52
commit
d46c33402a
1 changed files with 2 additions and 6 deletions
|
|
@ -59,14 +59,10 @@ runs:
|
|||
fi
|
||||
printf '%s/bin' "$prefix_dir" >> $GITHUB_PATH
|
||||
|
||||
# If the dagger version is 'latest', set the version back to an empty
|
||||
# string. This allows the install script to detect and install the latest
|
||||
# version itself
|
||||
# A version of 'latest' is respected in the install.sh script
|
||||
# We remove any leading 'v' on VERSION here to ensure a match
|
||||
VERSION=${{ inputs.version }}
|
||||
if [[ "$VERSION" == "latest" ]]; then
|
||||
VERSION=
|
||||
else
|
||||
if [[ "$VERSION" != "latest" ]]; then
|
||||
VERSION=$(echo -n $VERSION | cut -d' ' -f2 | cut -dv -f2 | tr -d '\n')
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue