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: |