Skip to content

Commit 588dd0b

Browse files
committed
fix specifying version
1 parent 676c582 commit 588dd0b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +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
12-
shell: bash
13-
env:
14-
TFCMT_VERSION: ${{ inputs.version }}
15-
- run: echo ${TFCMT_VERSION}
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}
1612
shell: bash
1713
env:
1814
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)