Skip to content

Commit

Permalink
CI: Fix CI for release
Browse files Browse the repository at this point in the history
Can't use fetch-tags on a tag apparently. See actions/checkout#1467.
  • Loading branch information
dopplershift committed Dec 28, 2023
1 parent 2f8dc02 commit 7a5e4cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 150
fetch-tags: true

- name: Get tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

- name: Install using PyPI
uses: ./.github/actions/install-pypi
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
fetch-tags: true

- name: Set up Python
id: setup
Expand Down

0 comments on commit 7a5e4cc

Please sign in to comment.