fix: better handling of lfs
This commit is contained in:
parent
3432122a73
commit
1492379094
1 changed files with 10 additions and 0 deletions
|
@ -16,6 +16,15 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.PIPELINE_TOKEN }}
|
||||
- name: "Get LFS objects"
|
||||
uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3
|
||||
with:
|
||||
repository: ${{ gitea.repository }}
|
||||
ref_name: ${{ gitea.ref_name }}
|
||||
- name: Get all LFS objects
|
||||
run: |
|
||||
# Pull in all objects for all branches
|
||||
git lfs fetch --all
|
||||
- name: setup git config
|
||||
run: |
|
||||
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
|
||||
|
@ -30,6 +39,7 @@ jobs:
|
|||
# need to convert "'refs/remotes/origin/main" to "main"
|
||||
branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $4 }')
|
||||
git switch $branch_local
|
||||
git lfs pull
|
||||
git status
|
||||
nix run .#update_plugin -- update geyser
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue