Skip to content

Commit

Permalink
Feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Nov 7, 2024
1 parent 8d777bd commit d63712a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ runs:
run: |
TOIT_VERSION=${{ inputs.toit-version }}
ARTIFACT_NAMING_THRESHOLD_VERSION=v2.0.0-alpha.163
ASSETS_NAMING_THRESHOLD_VERSION=v2.0.0-alpha.164
# Use sort -V to compare versions.
if [[ "$TOIT_VERSION" == "latest" ]] || \
[[ "$(echo -e "$ARTIFACT_NAMING_THRESHOLD_VERSION\n$TOIT_VERSION" | sort -V | tail -n 1)" == "$TOIT_VERSION" ]]; then
[[ "$(echo -e "$ASSETS_NAMING_THRESHOLD_VERSION\n$TOIT_VERSION" | sort -V | tail -n 1)" == "$TOIT_VERSION" ]]; then
if [[ "$RUNNER_OS" = "Linux" ]]; then
case "$(uname -m)" in
x86_64) TOIT_FILE=toit-linux-x64.tar.gz ;;
Expand Down

0 comments on commit d63712a

Please sign in to comment.