Skip to content

Commit 8788b78

Browse files
committed
change ctrlc
1 parent 4b8a1dc commit 8788b78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ runs:
3333
BINARY_NAME="ctrlc_${OS}_${ARCH}"
3434
echo "BINARY_NAME: $BINARY_NAME"
3535
DOWNLOAD_URL="https://github.com/${{ inputs.repo }}/releases/download/${{ inputs.version }}/$BINARY_NAME.tar.gz"
36+
echo "DOWNLOAD_URL: $DOWNLOAD_URL"
3637
3738
curl -L $DOWNLOAD_URL -o binary.tar.gz
3839
tar xzf binary.tar.gz
39-
chmod +x ${{ inputs.binary }}
40-
sudo mv ${{ inputs.binary }} /usr/local/bin/
40+
chmod +x ctrlc
41+
sudo mv ctrlc /usr/local/bin/
4142
4243
- name: Set Ctrlplane URL
4344
shell: bash

0 commit comments

Comments
 (0)