From 149237909445af8e11aeb6af5535ce550a36f349 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 15 May 2025 08:25:13 +0100 Subject: [PATCH] fix: better handling of lfs --- .forgejo/workflows/geyser.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.forgejo/workflows/geyser.yml b/.forgejo/workflows/geyser.yml index ce36206..69d8f20 100644 --- a/.forgejo/workflows/geyser.yml +++ b/.forgejo/workflows/geyser.yml @@ -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