From d69ca74f952a6d7d971300168bc552b126a08f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 28 Feb 2025 01:34:09 +0800 Subject: [PATCH] ci: fuck gitea --- .github/workflows/checksums.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/checksums.yml b/.github/workflows/checksums.yml index 0afdcc3..0be6bfb 100644 --- a/.github/workflows/checksums.yml +++ b/.github/workflows/checksums.yml @@ -10,19 +10,13 @@ jobs: checksums: runs-on: cn steps: - - name: Checkout repository - uses: actions/checkout@v4 - name: Generate checksums run: | - curl https://git.haozi.net set -e git lfs install --local git remote set-url origin "https://ci:${{ secrets.CI_PASSWORD }}@${{ github.server_url }}/${{ github.repository }}" git config lfs.https://ci:${{ secrets.CI_PASSWORD }}@${{ github.server_url }}/${{ github.repository }}.git/info/lfs.locksverify true - # disable credentials by actions/checkout for LFS endpoints - AUTH=$(git config --local http.${{ github.server_url }}/.extraheader) - git config --local --unset http.${{ github.server_url }}/.extraheader - git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" + git checkout ${{ github.ref }} git lfs pull IFS=$'\n' for file in $(git ls-files | grep "^panel/" | grep -v ".sha256$" | grep -v ".txt$"); do