跳到主要内容

Linux-arm64安装actions-runner

创建运行目录

$ mkdir actions-runner && cd actions-runner

下载完成后校验哈希值

$ curl -o actions-runner-linux-arm64-2.285.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.285.1/actions-runner-linux-arm64-2.285.1.tar.gz

校验完成安装

$ echo "8a0afe1ef136a07908de457f4017edabbce66524d56bd3d92179b3b3d2202917  actions-runner-linux-arm64-2.285.1.tar.gz" | shasum -a 256 -c

解压

$ tar xzf ./actions-runner-linux-arm64-2.285.1.tar.gz

配置

Create the runner and start the configuration experience

$ ./config.sh --url 自己仓库 --token 自己的密钥# Last step, run it! $ ./run.sh

使用

Use this YAML in your workflow file for each job

runs-on: self-hosted