From 8e4302c956141427c54e3118acc5bcc21a68c785 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sun, 27 Aug 2023 01:54:41 +0800 Subject: [PATCH 1/2] refactor(main): rename robot for action Signed-off-by: cuisongliu --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 086e570..4bda333 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: "Gh Rebot for Sealos" +name: "Rebot for Sealos" description: "Add some robot command for sealos" author: "cuisongliu" inputs: From f4dad186ea4ca17a9b656e91027be5d7c225760f Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sun, 27 Aug 2023 01:56:15 +0800 Subject: [PATCH 2/2] refactor(main): rename robot for action Signed-off-by: cuisongliu --- action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 4bda333..3331b0c 100644 --- a/action.yml +++ b/action.yml @@ -5,19 +5,19 @@ inputs: version: description: 'version of robot' required: true - default: 'v0.0.5' + default: 'v1.0.0' runs: using: "composite" steps: - run: | - sudo wget -q https://github.com/labring/robot/releases/download/${GH_REBOT_VERSION}/robot_${GH_REBOT_VERSION#v}_linux_amd64.tar.gz - sudo tar -zxf robot_${GH_REBOT_VERSION#v}_linux_amd64.tar.gz robot && chmod +x robot && sudo mv robot /usr/bin/robot + sudo wget -q https://github.com/labring/robot/releases/download/${REBOT_VERSION}/robot_${REBOT_VERSION#v}_linux_amd64.tar.gz + sudo tar -zxf robot_${REBOT_VERSION#v}_linux_amd64.tar.gz robot && chmod +x robot && sudo mv robot /usr/bin/robot robot version - sudo rm -rf robot_${GH_REBOT_VERSION#v}_linux_amd64.tar.gz + sudo rm -rf robot_${REBOT_VERSION#v}_linux_amd64.tar.gz robot action shell: bash env: - GH_REBOT_VERSION: ${{ inputs.version }} + REBOT_VERSION: ${{ inputs.version }} branding: icon: 'user-check' color: 'orange'