修改了runs on 镜像为ubuntu:jammy
Some checks failed
Build Push and Deploy Image / build (push) Failing after 36s
Some checks failed
Build Push and Deploy Image / build (push) Failing after 36s
This commit is contained in:
@@ -21,12 +21,17 @@ env:
|
||||
# 构建 Job
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-node # 如果host构建 :linux_amd64
|
||||
runs-on: ubuntu-jammy # 如果host构建 :linux_amd64
|
||||
steps:
|
||||
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- run: env
|
||||
- uses: http://localhost:3000/bamanker/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
cache: 'npm'
|
||||
- run: node -v
|
||||
# 下载仓库源码,依赖node环境,因此构建服务器本地需要下载安装node并设置环境变量
|
||||
- name: Checkout repository code
|
||||
#使用自定义仓库action
|
||||
|
||||
Reference in New Issue
Block a user