Skip to content

Commit 89a7a7f

Browse files
authored
Merge pull request #11 from shmokmt/fix-specifing-version
Fix specifing version
2 parents 56bf2ac + 588dd0b commit 89a7a7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- run: curl -sfL https://raw.githubusercontent.com/shmokmt/actions-setup-tfcmt/main/install.sh | sudo sh -s -- -b /usr/local/bin -d
11+
- run: curl -sfL https://raw.githubusercontent.com/shmokmt/actions-setup-tfcmt/main/install.sh | sudo sh -s -- -b /usr/local/bin -d ${TFCMT_VERSION}
1212
shell: bash
1313
env:
1414
TFCMT_VERSION: ${{ inputs.version }}

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ parse_args() {
3333
esac
3434
done
3535
shift $((OPTIND - 1))
36-
TAG="${TFCMT_VERSION:-latest}"
36+
TAG=$1
3737
}
3838
# this function wraps all the destructive operations
3939
# if a curl|bash cuts off the end of the script due to

0 commit comments

Comments
 (0)