fix: use direct git clone instead of actions/checkout
Replace actions/checkout@v4 (which requires GitHub access) with direct git clone from Gitea to avoid network connectivity issues.
This commit is contained in:
@@ -15,9 +15,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone --depth 1 http://gitea:3000/jimmy/nas-tools.git .
|
||||||
ref: ${{ github.sha }}
|
git fetch --depth 1 origin ${{ github.sha }}
|
||||||
|
git checkout ${{ github.sha }}
|
||||||
- name: Warm mirror cache for base images
|
- name: Warm mirror cache for base images
|
||||||
run: |
|
run: |
|
||||||
set -u
|
set -u
|
||||||
|
|||||||
Reference in New Issue
Block a user