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