Skip to content

Commit f4a5569

Browse files
committed
Fix error caused by GitHub Actions bug actions/checkout#1467
1 parent 64fc462 commit f4a5569

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: .github/workflows/ci-cd.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
steps:
3535
- name: Checkout code
3636
uses: actions/checkout@v4
37-
with:
38-
fetch-tags: true
39-
37+
- name: Get tags
38+
run: git fetch --tags origin
39+
4040
- name: Set up Python
4141
uses: actions/setup-python@v5
4242
with:
@@ -77,8 +77,8 @@ jobs:
7777
steps:
7878
- name: Checkout code
7979
uses: actions/checkout@v4
80-
with:
81-
fetch-tags: true
80+
- name: Get tags
81+
run: git fetch --tags origin
8282

8383
- name: Set up Python
8484
uses: actions/setup-python@v5
@@ -119,8 +119,8 @@ jobs:
119119
# Build and publish to PyPI
120120
- name: Checkout code
121121
uses: actions/checkout@v4
122-
with:
123-
fetch-tags: true
122+
- name: Get tags
123+
run: git fetch --tags origin
124124

125125
- name: Set up Python
126126
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)