From dc098736b5f7e10e8db04d41747f71b54807295d Mon Sep 17 00:00:00 2001 From: Miguel de Benito Delgado Date: Tue, 26 Mar 2024 08:05:28 +0100 Subject: [PATCH] Pull LFS files when publishing too --- .github/workflows/publish.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 34252213b..9fad121cc 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,4 +1,4 @@ -name: Publish Python Package to PyPI +name: Publish package and docs on: release: @@ -29,11 +29,14 @@ jobs: - name: Checking out last commit in release if: ${{ github.event_name != 'workflow_dispatch' }} uses: actions/checkout@v4 + with: + lfs: true - name: Checking out last commit for tag ${{ inputs.tag_name }} - uses: actions/checkout@v4 if: ${{ github.event_name == 'workflow_dispatch' }} + uses: actions/checkout@v4 with: ref: ${{ inputs.tag_name }} + lfs: true - name: Fail if running locally if: ${{ env.ACT }} # skip during local actions testing run: |