Skip to content

Commit

Permalink
gci: Checkout tags in CI to get auto-versioning working
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Sep 28, 2021
1 parent b8f79d3 commit b2df01d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Fetch tags for auto versioning
run: git fetch --prune --unshallow --tags

- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
with:
# Need to fetch full history to get pyln versions identified
# correctly
fetch-depth: 0

- name: Fetch tags for auto versioning
run: git fetch --prune --unshallow --tags

- name: Set up Python 3.6
uses: actions/setup-python@v2
Expand Down

0 comments on commit b2df01d

Please sign in to comment.