Skip to content

Commit bb6c204

Browse files
authored
Merge pull request #40 from cryptosense/fix-release-2
Fix release (again)
2 parents 9ee9650 + 425c9a8 commit bb6c204

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ jobs:
1212
steps:
1313
- name: Checkout the code
1414
uses: actions/checkout@v4
15-
with:
16-
fetch-tags: true
15+
- name: Fetch tags
16+
if: startsWith(github.ref, 'refs/tags/') # https://github.com/actions/checkout/issues/1467
17+
run: git fetch --tags
1718
- name: Set up OCaml
1819
# We can't use setup-ocaml@v3 yet because ocurl can't be installed with it for now
1920
# (curl-config issue).
@@ -53,8 +54,9 @@ jobs:
5354
steps:
5455
- name: Checkout the code
5556
uses: actions/checkout@v4
56-
with:
57-
fetch-tags: true
57+
- name: Fetch tags
58+
if: startsWith(github.ref, 'refs/tags/') # https://github.com/actions/checkout/issues/1467
59+
run: git fetch --tags
5860
- name: Set up Docker Buildx
5961
uses: docker/setup-buildx-action@v3
6062
- name: Set build version

0 commit comments

Comments
 (0)