23
23
24
24
steps :
25
25
- name : Checkout
26
- uses : actions/checkout@v3
26
+ uses : actions/checkout@v4
27
+ with :
28
+ fetch-tags : true
29
+
30
+ # https://github.com/actions/checkout/issues/1781
31
+ # workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284
32
+ - name : Fetch tags
33
+ run : git fetch --prune --unshallow --tags
27
34
28
35
- name : Install Qt
29
36
uses : jurplel/install-qt-action@v3
57
64
58
65
steps :
59
66
- name : Checkout
60
- uses : actions/checkout@v3
67
+ uses : actions/checkout@v4
68
+ with :
69
+ fetch-tags : true
70
+
71
+ # https://github.com/actions/checkout/issues/1781
72
+ # workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284
73
+ - name : Fetch tags
74
+ run : git fetch --prune --unshallow --tags
61
75
62
76
- name : Install Qt
63
77
uses : jurplel/install-qt-action@v3
@@ -94,8 +108,10 @@ jobs:
94
108
95
109
steps :
96
110
- name : Checkout
97
- uses : actions/checkout@v3
98
-
111
+ uses : actions/checkout@v4
112
+ with :
113
+ fetch-tags : true
114
+
99
115
- name : Install MinGW-w64 packages Qt5
100
116
if : " startsWith(matrix.qt_version, '5')"
101
117
uses : msys2/setup-msys2@v2
@@ -107,6 +123,7 @@ jobs:
107
123
cc:p
108
124
cmake:p
109
125
ninja:p
126
+ git:p
110
127
qt${{ matrix.qt_version }}-base:p
111
128
qt${{ matrix.qt_version }}-svg:p
112
129
qt${{ matrix.qt_version }}-tools:p
@@ -123,10 +140,16 @@ jobs:
123
140
cc:p
124
141
cmake:p
125
142
ninja:p
143
+ git:p
126
144
qt${{ matrix.qt_version }}-base:p
127
145
qt${{ matrix.qt_version }}-svg:p
128
146
qt${{ matrix.qt_version }}-tools:p
129
147
qt${{ matrix.qt_version }}-declarative:p
148
+
149
+ # https://github.com/actions/checkout/issues/1781
150
+ # workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284
151
+ - name : Fetch tags
152
+ run : git fetch --prune --unshallow --tags
130
153
131
154
- name : Configure CMake for Qt5
132
155
if : " startsWith(matrix.qt_version, '5')"
@@ -151,7 +174,14 @@ jobs:
151
174
152
175
steps :
153
176
- name : Checkout
154
- uses : actions/checkout@v3
177
+ uses : actions/checkout@v4
178
+ with :
179
+ fetch-tags : true
180
+
181
+ # https://github.com/actions/checkout/issues/1781
182
+ # workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284
183
+ - name : Fetch tags
184
+ run : git fetch --prune --unshallow --tags
155
185
156
186
- name : Install Qt
157
187
uses : jurplel/install-qt-action@v3
0 commit comments