Compare commits

..

4 Commits

Author SHA1 Message Date
bamanker
e381ac36e1 修改了runs on 镜像为ubuntu 4
Some checks failed
Build Push and Deploy Image / build (push) Failing after 5m24s
2025-12-30 12:49:13 +08:00
bamanker
009f6ae5b7 修改了runs on 镜像为ubuntu 2
Some checks failed
Build Push and Deploy Image / build (push) Failing after 3s
2025-12-30 12:32:40 +08:00
bamanker
ea2d7d76af 修改了runs on 镜像为ubuntu 1
Some checks failed
Build Push and Deploy Image / build (push) Failing after 5s
2025-12-30 12:27:47 +08:00
bamanker
5dbb383d07 修改了runs on 镜像为ubuntu
Some checks failed
Build Push and Deploy Image / build (push) Has been cancelled
2025-12-30 12:25:06 +08:00

View File

@@ -21,17 +21,19 @@ env:
# 构建 Job # 构建 Job
jobs: jobs:
build: build:
runs-on: ubuntu-jammy # 如果host构建 linux_amd64 runs-on: ubuntu-node # 如果host构建 linux_amd64
steps: steps:
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event." - 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 " 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: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: env - run: env
- uses: http://localhost:3000/bamanker/setup-node@v6
with: - run: sudo apt-get update && sudo apt-get install -y envsubst
node-version: 24 # - uses: http://localhost:3000/bamanker/setup-node@v6
cache: 'npm' # with:
- run: node -v # node-version: 24
# cache: 'npm'
# - run: node -v
# 下载仓库源码依赖node环境因此构建服务器本地需要下载安装node并设置环境变量 # 下载仓库源码依赖node环境因此构建服务器本地需要下载安装node并设置环境变量
- name: Checkout repository code - name: Checkout repository code
#使用自定义仓库action #使用自定义仓库action