Skip to content

Commit 5fdd236

Browse files
committed
try to fetch the tags in the checkout steps of the github actions (even if does not work at the moment)
1 parent 77443d9 commit 5fdd236

File tree

2 files changed

+40
-20
lines changed

2 files changed

+40
-20
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
31-
#with:
31+
with:
32+
fetch-tags: true
3233
# fetch-depth: 0
3334

3435
- name: Create Build Environment

.github/workflows/nightly.yml

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ jobs:
111111
steps:
112112
- name: Checkout
113113
uses: actions/checkout@v4
114-
#with:
114+
with:
115+
fetch-tags: true
115116
# fetch-depth: 0
116117

117118
# Download and build vcpkg, without installing any port. If content is cached already, it is a no-op.
@@ -166,7 +167,8 @@ jobs:
166167
steps:
167168
- name: Checkout
168169
uses: actions/checkout@v4
169-
#with:
170+
with:
171+
fetch-tags: true
170172
# fetch-depth: 0
171173

172174
- name: Create Build Environment
@@ -213,7 +215,8 @@ jobs:
213215
steps:
214216
- name: Checkout
215217
uses: actions/checkout@v4
216-
#with:
218+
with:
219+
fetch-tags: true
217220
# fetch-depth: 0
218221

219222
- name: Create Build Environment
@@ -260,7 +263,8 @@ jobs:
260263
steps:
261264
- name: Checkout
262265
uses: actions/checkout@v4
263-
#with:
266+
with:
267+
fetch-tags: true
264268
# fetch-depth: 0
265269

266270
- name: Create Build Environment
@@ -307,7 +311,8 @@ jobs:
307311
steps:
308312
- name: Checkout
309313
uses: actions/checkout@v4
310-
#with:
314+
with:
315+
fetch-tags: true
311316
# fetch-depth: 0
312317

313318
- name: Create Build Environment
@@ -356,7 +361,8 @@ jobs:
356361
steps:
357362
- name: Checkout
358363
uses: actions/checkout@v4
359-
#with:
364+
with:
365+
fetch-tags: true
360366
# fetch-depth: 0
361367

362368
- name: Create Build Environment
@@ -415,7 +421,8 @@ jobs:
415421
steps:
416422
- name: Checkout
417423
uses: actions/checkout@v4
418-
#with:
424+
with:
425+
fetch-tags: true
419426
# fetch-depth: 0
420427

421428
- name: Create Build Environment
@@ -462,7 +469,8 @@ jobs:
462469
steps:
463470
- name: Checkout
464471
uses: actions/checkout@v4
465-
#with:
472+
with:
473+
fetch-tags: true
466474
# fetch-depth: 0
467475

468476
- name: Create Build Environment
@@ -504,7 +512,8 @@ jobs:
504512
steps:
505513
- name: Checkout
506514
uses: actions/checkout@v4
507-
#with:
515+
with:
516+
fetch-tags: true
508517
# fetch-depth: 0
509518

510519
- name: Configure CMake
@@ -551,7 +560,8 @@ jobs:
551560
steps:
552561
- name: Checkout
553562
uses: actions/checkout@v4
554-
#with:
563+
with:
564+
fetch-tags: true
555565
# fetch-depth: 0
556566

557567
- name: Create Build Environment
@@ -635,7 +645,8 @@ jobs:
635645
steps:
636646
- name: Checkout
637647
uses: actions/checkout@v4
638-
#with:
648+
with:
649+
fetch-tags: true
639650
# fetch-depth: 0
640651

641652
# curl -L http://od.abstraction.se/opendingux/toolchain/opendingux-gcw0-toolchain.2021-10-22.tar.xz -o gcw0-toolchain.tar.xz &&
@@ -681,7 +692,8 @@ jobs:
681692
steps:
682693
- name: Checkout
683694
uses: actions/checkout@v4
684-
#with:
695+
with:
696+
fetch-tags: true
685697
# fetch-depth: 0
686698

687699
# curl -L http://od.abstraction.se/opendingux/toolchain/opendingux-lepus-toolchain.2021-10-22.tar.xz -o lepus-toolchain.tar.xz &&
@@ -727,7 +739,8 @@ jobs:
727739
steps:
728740
- name: Checkout
729741
uses: actions/checkout@v4
730-
#with:
742+
with:
743+
fetch-tags: true
731744
# fetch-depth: 0
732745

733746
#sudo apt-get install -y curl git smpq &&
@@ -776,7 +789,8 @@ jobs:
776789
steps:
777790
- name: Checkout
778791
uses: actions/checkout@v4
779-
#with:
792+
with:
793+
fetch-tags: true
780794
# fetch-depth: 0
781795

782796
- name: Create Build Environment
@@ -824,7 +838,8 @@ jobs:
824838
steps:
825839
- name: Checkout
826840
uses: actions/checkout@v4
827-
#with:
841+
with:
842+
fetch-tags: true
828843
# fetch-depth: 0
829844

830845
- name: Create Build Environment
@@ -867,7 +882,8 @@ jobs:
867882
steps:
868883
- name: Checkout
869884
uses: actions/checkout@v4
870-
#with:
885+
with:
886+
fetch-tags: true
871887
# fetch-depth: 0
872888

873889
- name: Create Build Environment
@@ -911,7 +927,8 @@ jobs:
911927
steps:
912928
- name: Checkout
913929
uses: actions/checkout@v4
914-
#with:
930+
with:
931+
fetch-tags: true
915932
# fetch-depth: 0
916933

917934
#- name: Install dependencies
@@ -975,7 +992,8 @@ jobs:
975992
steps:
976993
- name: Checkout
977994
uses: actions/checkout@v4
978-
#with:
995+
with:
996+
fetch-tags: true
979997
# fetch-depth: 0
980998

981999
#- name: Install dependencies
@@ -1028,7 +1046,8 @@ jobs:
10281046
steps:
10291047
- name: Checkout
10301048
uses: actions/checkout@v4
1031-
#with:
1049+
with:
1050+
fetch-tags: true
10321051
# fetch-depth: 0
10331052

10341053
- name: Create Build Environment

0 commit comments

Comments
 (0)