ci: fuck gitea
Some checks failed
Generate Checksums / checksums (push) Failing after 0s

This commit is contained in:
耗子 2025-02-28 01:38:31 +08:00
parent d69ca74f95
commit 6277cd6a28
Signed by: haozi
GPG Key ID: C964D7226D045DAA

View File

@ -13,10 +13,10 @@ jobs:
- name: Generate checksums
run: |
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
git clone ${{ github.repository }} /tmp/repo
cd /tmp/repo
git checkout ${{ github.ref }}
git lfs install --local
git lfs pull
IFS=$'\n'
for file in $(git ls-files | grep "^panel/" | grep -v ".sha256$" | grep -v ".txt$"); do
@ -30,3 +30,4 @@ jobs:
git config --global user.password "${{ secrets.GITHUB_TOKEN }}"
git commit -m "chore: update checksums" || true
git push origin ${{ github.ref }}
rm -rf /tmp/repo