Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename action name #7

Merged
merged 2 commits into from
Aug 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: "Gh Rebot for Sealos"
name: "Rebot for Sealos"
description: "Add some robot command for sealos"
author: "cuisongliu"
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'
Loading