fix(ci): use git clone instead of Node.js actions/checkout
This commit is contained in:
@@ -11,7 +11,13 @@ jobs:
|
||||
container:
|
||||
image: alpine:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout code
|
||||
run: |
|
||||
apk add --no-cache git
|
||||
git init
|
||||
git remote add origin https://forgejo.riotpiao.com/rock/poimen-memory.git
|
||||
git fetch origin ${{ github.ref_name }} --depth=1
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
- name: Check markdown files exist
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user