From 80658267c27877d06831fe5602f694264e9526b2 Mon Sep 17 00:00:00 2001 From: Yu Steven <78414278+yu-steven@users.noreply.github.com> Date: Fri, 8 Jul 2022 19:56:48 +0800 Subject: [PATCH] Update Nodes.yaml --- .github/workflows/Nodes.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/Nodes.yaml b/.github/workflows/Nodes.yaml index 2bc4de34f..7752420db 100644 --- a/.github/workflows/Nodes.yaml +++ b/.github/workflows/Nodes.yaml @@ -15,18 +15,18 @@ jobs: my-job: name: Max Job - runs-on: [self-hosted, HK] + runs-on: ubuntu-latest 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