ci: update
All checks were successful
Generate Checksums / checksums (push) Successful in 44s

This commit is contained in:
耗子 2025-02-28 02:16:16 +08:00
parent 513daf75d2
commit 0fdd759e32
Signed by: haozi
GPG Key ID: C964D7226D045DAA

View File

@ -13,7 +13,8 @@ jobs:
- name: Generate checksums
run: |
set -e
rm -rf /tmp/repo || true
git config --global credential.helper store
echo "https://ci:${{ secrets.CI_PASSWORD }}@git.haozi.net" > ~/.git-credentials
git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git /tmp/repo
cd /tmp/repo
git checkout ${{ github.ref_name }}
@ -29,7 +30,5 @@ jobs:
git add -A
git config --global user.name "CI"
git config --global user.email "ci@haozi.net"
git config --global user.password "${{ secrets.CI_PASSWORD }}"
git commit -m "chore: update checksums" || true
git push origin ${{ github.ref_name }}
rm -rf /tmp/repo