Skip to content

Commit

Permalink
Pull LFS files when publishing too
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbenito committed Mar 26, 2024
1 parent b7683e4 commit dc09873
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Python Package to PyPI
name: Publish package and docs

on:
release:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit dc09873

Please sign in to comment.