update checkout repository
All checks were successful
Build NGINX on Ubuntu / build-and-deploy (push) Successful in 1m50s

This commit is contained in:
huangzhiqiang 2025-06-10 13:33:39 +08:00
parent d33db63f5e
commit 9d66348232

View File

@ -8,6 +8,8 @@ on:
env: env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
# ACTIONS_CHECKOUT: actions/checkout@v4 # 在环境变量中定义 checkout 动作路径
ACTIONS_CHECKOUT: http://192.168.1.33:30080/gitea_admin/checkout@v4
defaults: defaults:
run: run:
@ -19,7 +21,7 @@ jobs:
steps: steps:
- name: 检出代码 - name: 检出代码
uses: gitea_admin/checkout@v4 uses: ${{ env.ACTIONS_CHECKOUT }}
- name: 更新包管理器 - name: 更新包管理器
run: sudo apt update run: sudo apt update