Update Nodes.yaml

This commit is contained in:
Yu Steven
2022-07-08 18:21:30 +08:00
committed by GitHub
parent a4ea5527cf
commit 34ae17ee28

View File

@@ -15,23 +15,23 @@ jobs:
my-job:
name: Max Job
runs-on: ubuntu-latest
runs-on: [self-hosted, HK1]
steps:
- uses: actions/checkout@v3 #git clone
- uses: actions/setup-node@v3 #Node.js环境
with:
node-version: 16 #node.js 16
- uses: actions/setup-python@v4 #python环境
with:
python-version: '3.x' #python 3.x
cache: 'pip' #pip cache
- name: Timezone #UTC+0 → UTC+8
run: sudo timedatectl set-timezone 'Asia/Shanghai'
# - uses: actions/setup-node@v3 #Node.js环境
# with:
# node-version: 16 #node.js 16
# - uses: actions/setup-python@v4 #python环境
# with:
# python-version: '3.x' #python 3.x
# cache: 'pip' #pip cache
# - name: Timezone #UTC+0 → UTC+8
# run: sudo timedatectl set-timezone 'Asia/Shanghai'
- name: git
run: | #配置git的上传用户名和邮箱
git config pull.rebase false
git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com"
# git config --local user.name "GitHub Actions"
# git config --local user.email "actions@github.com"
- name: npm
run: | #安裝npm包
cd ./utils/rm/