Skip to content

Commit 7a5e4cc

Browse files
committed
CI: Fix CI for release
Can't use fetch-tags on a tag apparently. See actions/checkout#1467.
1 parent 2f8dc02 commit 7a5e4cc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
uses: actions/checkout@v4
4141
with:
4242
fetch-depth: 150
43-
fetch-tags: true
43+
44+
- name: Get tags
45+
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
4446

4547
- name: Install using PyPI
4648
uses: ./.github/actions/install-pypi

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
with:
15-
fetch-depth: 10
16-
fetch-tags: true
1714

1815
- name: Set up Python
1916
id: setup

0 commit comments

Comments
 (0)