Skip to content

Commit

Permalink
Fetch whole repo and tags to find correct version
Browse files Browse the repository at this point in the history
This is because fetching tags only doesn't work. See
actions/checkout#1471

The simplest is to download the whole repo, since it's sufficiently
small. The action will take a bit longer, but that's a small price to
pay.
  • Loading branch information
gonzaponte committed Dec 18, 2024
1 parent 3bfe677 commit fe1f400
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Get LFS files
run: git lfs pull
# - name: Fix Conda permissions on macOS
Expand Down

0 comments on commit fe1f400

Please sign in to comment.