Compare commits

...

2 Commits

Author SHA1 Message Date
bamanker
699d6cc5c3 修改了runs on 镜像为ubuntu:jammy
Some checks failed
Build Push and Deploy Image / build (push) Failing after 36s
2025-12-30 12:04:00 +08:00
bamanker
499c3058fe 修改了runs on 镜像为node:22-alpine
Some checks failed
Build Push and Deploy Image / build (push) Failing after 55s
2025-12-30 11:32:54 +08:00

View File

@@ -21,12 +21,17 @@ env:
# 构建 Job
jobs:
build:
runs-on: ubuntu-latest # 如果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