ci: fix workflow stability by using standard actions

This commit is contained in:
Gan, Jimmy
2026-04-04 23:18:24 +08:00
parent 5d0735e803
commit 6bc81f409c
4 changed files with 25 additions and 23 deletions
+3 -3
View File
@@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
run: |
git clone --depth 1 --branch ${{ github.ref_name }} http://gitea:3000/jimmy/nas-tools.git .
git checkout ${{ github.sha }}
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- name: Warm mirror cache for base images
run: |
set -u