diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d75d2b1..349800c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,9 +10,12 @@ jobs: IMAGE_TAG: ${{ github.sha }} steps: - name: Checkout - uses: actions/checkout@master - with: - lfs: true + run: | + git init + git remote add origin gitea@${{ github.repositoryUrl }} + git fetch --depth 1 origin ${{ github.ref }} + git checkout FETCH_HEAD + git lfs pull - name: Use ssh key uses: webfactory/ssh-agent@v0.9.0 with: