From 39e3016f2cac2e30a0c7a731a9ee51d9d5b5a477 Mon Sep 17 00:00:00 2001 From: Eric McDonald Date: Sun, 17 Aug 2025 19:45:38 -0700 Subject: [PATCH] Github Actions: python-hatch: Fix. Initialize LFS in repository clone. --- .github/actions/python-hatch/action.yaml | 2 ++ .github/workflows/tester.yaml | 2 +- .github/workflows/xrepo--tester.yaml | 4 ++-- sources-test.tar.xz | 3 +++ 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 sources-test.tar.xz diff --git a/.github/actions/python-hatch/action.yaml b/.github/actions/python-hatch/action.yaml index dfb1f60..7c61a11 100644 --- a/.github/actions/python-hatch/action.yaml +++ b/.github/actions/python-hatch/action.yaml @@ -16,6 +16,8 @@ runs: - name: Construct Foundation if: "${{ 'true' == inputs.needs-clone }}" uses: actions/checkout@v4 + with: + lfs: true - name: Select Python Version uses: actions/setup-python@v5 diff --git a/.github/workflows/tester.yaml b/.github/workflows/tester.yaml index 2de0d5c..938e42c 100644 --- a/.github/workflows/tester.yaml +++ b/.github/workflows/tester.yaml @@ -14,7 +14,7 @@ jobs: test: needs: [initialize] - uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@gha-1 + uses: emcd/python-project-common/.github/workflows/xrepo--tester.yaml@lfs-fix with: matrix-exclusions: '${{ needs.initialize.outputs.matrix-exclusions }}' platforms: '${{ needs.initialize.outputs.platforms }}' diff --git a/.github/workflows/xrepo--tester.yaml b/.github/workflows/xrepo--tester.yaml index 5b6b3ad..cb48e94 100644 --- a/.github/workflows/xrepo--tester.yaml +++ b/.github/workflows/xrepo--tester.yaml @@ -28,7 +28,7 @@ jobs: steps: - name: Prepare Python - uses: emcd/python-project-common/.github/actions/python-hatch@master + uses: emcd/python-project-common/.github/actions/python-hatch@lfs-fix with: python-version: '${{ fromJSON(inputs.python-versions)[0] }}' @@ -56,7 +56,7 @@ jobs: steps: - name: Prepare Python - uses: emcd/python-project-common/.github/actions/python-hatch@master + uses: emcd/python-project-common/.github/actions/python-hatch@lfs-fix with: python-version: '${{ matrix.python-version }}' diff --git a/sources-test.tar.xz b/sources-test.tar.xz new file mode 100644 index 0000000..6148d00 --- /dev/null +++ b/sources-test.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1b4dbfb091ff66d738a4a7e9aa96ff5309a238436723a83e887e18c76e23745 +size 29052