27 lines
833 B
YAML
27 lines
833 B
YAML
name: lfs test
|
|
on:
|
|
- push
|
|
- workflow_dispatch
|
|
|
|
jobs:
|
|
checkout lfs:
|
|
steps:
|
|
- name: checkout repo
|
|
uses: https://github.com/ischanx/checkout@06c611454073903c9d44641d7e085b21115d3dcf
|
|
|
|
# See https://github.com/actions/checkout/issues/1830#issuecomment-2314758792 for details
|
|
- name: checkout LFS files
|
|
run: |
|
|
git lfs install --local
|
|
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 lfs pull
|
|
env:
|
|
GIT_TRACE: '1'
|
|
GIT_CURL_VERBOSE: '1'
|
|
|
|
- run: |
|
|
cat README.md
|
|
md5sum -c < sums
|