This commit is contained in:
parent
30a7e4ec16
commit
d69ca74f95
8
.github/workflows/checksums.yml
vendored
8
.github/workflows/checksums.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user