Skip to content

Commit 552ed8e

Browse files
committed
bot: fix install permission
1 parent 202ce0e commit 552ed8e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ plugins {
44

55
allprojects {
66
group = 'io.github.kezhenxu94'
7-
version = '0.4.0'
7+
version = '0.8.0'
88
sourceCompatibility = '8'
99
}

chatgpt-cli/action.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ runs:
1212
GH_ACTION_REF: ${{ github.action_ref || github.ref_name }}
1313
run: |
1414
curl -Ls https://github.com/kezhenxu94/chatgpt-java/releases/download/$GH_ACTION_REF/chatgpt-cli.ubuntu -o chatgpt-cli
15-
sudo install chatgpt-cli /usr/local/bin/chatgpt
15+
chmod +x chatgpt-cli
16+
sudo mv chatgpt-cli /usr/local/bin/chatgpt
1617
- if: runner.os == 'macOS'
1718
shell: bash
1819
env:
1920
GH_ACTION_REF: ${{ github.action_ref || github.ref_name }}
2021
run: |
2122
curl -Ls https://github.com/kezhenxu94/chatgpt-java/releases/download/$GH_ACTION_REF/chatgpt-cli.macos -o chatgpt-cli
22-
sudo install chatgpt-cli /usr/local/bin/chatgpt
23+
chmod +x chatgpt-cli
24+
sudo mv chatgpt-cli /usr/local/bin/chatgpt

0 commit comments

Comments
 (0)