Skip to content

Commit b4ccb3f

Browse files
committed
fix(workflow): make action works by actions/runner#2906 (comment)
1 parent bb92fa4 commit b4ccb3f

11 files changed

+90
-33
lines changed

.github/workflows/cicd.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
container:
4242
image: ghcr.io/4paradigm/hybridsql:latest
4343
env:
44+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
45+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
4446
OS: linux
4547
SQL_PYSDK_ENABLE: OFF
4648
TESTING_ENABLE: ON
@@ -104,7 +106,7 @@ jobs:
104106
105107
- name: upload unit test results
106108
if: always()
107-
uses: actions/upload-artifact@v4
109+
uses: actions/upload-artifact@v3
108110
with:
109111
name: linux-ut-result-cpp-${{ github.sha }}
110112
# exclude _deps xml
@@ -125,7 +127,7 @@ jobs:
125127
126128
- name: upload artifacts
127129
if: ${{ github.event_name == 'push' }}
128-
uses: actions/upload-artifact@v4
130+
uses: actions/upload-artifact@v3
129131
with:
130132
path: openmldb-*.tar.gz
131133
name: release-artifacts
@@ -205,14 +207,14 @@ jobs:
205207
206208
- name: upload artifacts
207209
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
208-
uses: actions/upload-artifact@v4
210+
uses: actions/upload-artifact@v3
209211
with:
210212
path: openmldb-*.tar.gz
211213
name: release-artifacts
212214

213215
- name: Upload Event File
214216
if: always()
215-
uses: actions/upload-artifact@v4
217+
uses: actions/upload-artifact@v3
216218
with:
217219
name: event-file
218220
path: ${{ github.event_path }}

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
df -h
7979
8080
- name: upload coverage
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v3
8282
with:
8383
# include the generated html report in build/coverage, great for local diagnose
8484
name: coverage-cpp-${{ github.sha }}

.github/workflows/devops-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
container:
2424
image: ghcr.io/4paradigm/hybridsql:latest
2525
env:
26+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
27+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
2628
OS: linux
2729
steps:
2830
- uses: actions/checkout@v2
@@ -49,6 +51,8 @@ jobs:
4951
container:
5052
image: ghcr.io/4paradigm/hybridsql:latest
5153
env:
54+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
55+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
5256
OS: linux
5357
steps:
5458
- uses: actions/checkout@v2
@@ -75,6 +79,8 @@ jobs:
7579
container:
7680
image: ghcr.io/4paradigm/hybridsql:latest
7781
env:
82+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
83+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
7884
OS: linux
7985
steps:
8086
- uses: actions/checkout@v2
@@ -101,6 +107,8 @@ jobs:
101107
container:
102108
image: ghcr.io/4paradigm/hybridsql:latest
103109
env:
110+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
111+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
104112
OS: linux
105113
steps:
106114
- uses: actions/checkout@v2
@@ -133,6 +141,8 @@ jobs:
133141
container:
134142
image: ghcr.io/4paradigm/hybridsql:latest
135143
env:
144+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
145+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
136146
OS: linux
137147
steps:
138148
- uses: actions/checkout@v2
@@ -165,6 +175,8 @@ jobs:
165175
container:
166176
image: ghcr.io/4paradigm/hybridsql:latest
167177
env:
178+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
179+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
168180
OS: linux
169181
steps:
170182
- uses: actions/checkout@v2

.github/workflows/hybridse-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
container:
2929
image: ghcr.io/4paradigm/hybridsql:latest
3030
env:
31+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
32+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
3133
TESTING_ENABLE_STRIP: ON
3234
steps:
3335
- uses: actions/checkout@v2
@@ -42,7 +44,7 @@ jobs:
4244
4345
- name: Upload Cpp UT Results
4446
if: always()
45-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@v3
4648
with:
4749
name: linux-ut-result-cpp-${{ github.sha }}
4850
path: |
@@ -81,14 +83,14 @@ jobs:
8183
8284
- name: Upload Event File
8385
if: always()
84-
uses: actions/upload-artifact@v4
86+
uses: actions/upload-artifact@v3
8587
with:
8688
name: event-file
8789
path: ${{ github.event_path }}
8890

8991
- name: Upload Cpp UT Results
9092
if: always()
91-
uses: actions/upload-artifact@v4
93+
uses: actions/upload-artifact@v3
9294
with:
9395
name: macos-ut-result-cpp-${{ github.sha }}
9496
path: |

.github/workflows/integration-test-pkg.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ jobs:
8383
container:
8484
image: ghcr.io/4paradigm/hybridsql:latest
8585
env:
86+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
87+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
8688
OS: linux
8789
steps:
8890
- uses: actions/checkout@v2
@@ -105,6 +107,8 @@ jobs:
105107
container:
106108
image: ghcr.io/4paradigm/hybridsql:latest
107109
env:
110+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
111+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
108112
OS: linux
109113
steps:
110114
- uses: actions/checkout@v2
@@ -127,6 +131,8 @@ jobs:
127131
container:
128132
image: ghcr.io/4paradigm/hybridsql:latest
129133
env:
134+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
135+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
130136
OS: linux
131137
steps:
132138
- uses: actions/checkout@v2
@@ -190,6 +196,8 @@ jobs:
190196
container:
191197
image: ghcr.io/4paradigm/hybridsql:latest
192198
env:
199+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
200+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
193201
OS: linux
194202
steps:
195203
- uses: actions/checkout@v2
@@ -199,7 +207,7 @@ jobs:
199207
run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b PKG -d standalone -l "0"
200208
- name: upload test results
201209
if: always()
202-
uses: actions/upload-artifact@v4
210+
uses: actions/upload-artifact@v3
203211
with:
204212
name: python-sdk-standalone-0-pkg-${{ github.sha }}
205213
path: |
@@ -227,6 +235,8 @@ jobs:
227235
container:
228236
image: ghcr.io/4paradigm/hybridsql:latest
229237
env:
238+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
239+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
230240
OS: linux
231241
steps:
232242
- uses: actions/checkout@v2
@@ -236,7 +246,7 @@ jobs:
236246
run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b PKG -d standalone -l "1,2,3,4,5"
237247
- name: upload test results
238248
if: always()
239-
uses: actions/upload-artifact@v4
249+
uses: actions/upload-artifact@v3
240250
with:
241251
name: python-sdk-standalone-1-pkg-${{ github.sha }}
242252
path: |
@@ -248,6 +258,8 @@ jobs:
248258
container:
249259
image: ghcr.io/4paradigm/hybridsql:latest
250260
env:
261+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
262+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
251263
OS: linux
252264
steps:
253265
- uses: actions/checkout@v2
@@ -269,6 +281,8 @@ jobs:
269281
container:
270282
image: ghcr.io/4paradigm/hybridsql:latest
271283
env:
284+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
285+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
272286
OS: linux
273287
steps:
274288
- uses: actions/checkout@v2

.github/workflows/integration-test-src.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
container:
7070
image: ghcr.io/4paradigm/hybridsql:latest
7171
env:
72+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
73+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
7274
OS: linux
7375
steps:
7476
- uses: actions/checkout@v2
@@ -112,6 +114,8 @@ jobs:
112114
container:
113115
image: ghcr.io/4paradigm/hybridsql:latest
114116
env:
117+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
118+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
115119
OS: linux
116120
steps:
117121
- uses: actions/checkout@v2
@@ -155,6 +159,8 @@ jobs:
155159
container:
156160
image: ghcr.io/4paradigm/hybridsql:latest
157161
env:
162+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
163+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
158164
OS: linux
159165
steps:
160166
- uses: actions/checkout@v2
@@ -197,6 +203,8 @@ jobs:
197203
container:
198204
image: ghcr.io/4paradigm/hybridsql:latest
199205
env:
206+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
207+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
200208
OS: linux
201209
steps:
202210
- uses: actions/checkout@v2
@@ -282,6 +290,8 @@ jobs:
282290
container:
283291
image: ghcr.io/4paradigm/hybridsql:latest
284292
env:
293+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
294+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
285295
OS: linux
286296
steps:
287297
- uses: actions/checkout@v2
@@ -427,7 +437,7 @@ jobs:
427437
# run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b SRC -d standalone -l "0"
428438
# - name: upload test results
429439
# if: always()
430-
# uses: actions/upload-artifact@v4
440+
# uses: actions/upload-artifact@v3
431441
# with:
432442
# name: python-sdk-standalone-0-src-${{ github.sha }}
433443
# path: |
@@ -468,7 +478,7 @@ jobs:
468478
# run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b SRC -d standalone -l "1,2,3,4,5"
469479
# - name: upload test results
470480
# if: always()
471-
# uses: actions/upload-artifact@v4
481+
# uses: actions/upload-artifact@v3
472482
# with:
473483
# name: python-sdk-standalone-1-src-${{ github.sha }}
474484
# path: |
@@ -528,6 +538,8 @@ jobs:
528538
container:
529539
image: ghcr.io/4paradigm/hybridsql:latest
530540
env:
541+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
542+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
531543
OS: linux
532544
steps:
533545
- uses: actions/checkout@v2

.github/workflows/integration-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ env:
2929
jobs:
3030
openmldb-test-python:
3131
runs-on: [self-hosted,generic]
32+
env:
33+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
34+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
3235
container:
3336
image: ghcr.io/4paradigm/hybridsql:latest
3437
steps:
@@ -50,7 +53,7 @@ jobs:
5053
5154
- name: upload ut results
5255
if: always()
53-
uses: actions/upload-artifact@v4
56+
uses: actions/upload-artifact@v3
5457
with:
5558
name: openmldb-test-python-${{ github.sha }}
5659
path: pytest.xml

.github/workflows/openmldb-tool.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
bash openmldb/sbin/stop-all.sh && bash openmldb/sbin/clear-all.sh
4949
- name: upload python test results
5050
if: always()
51-
uses: actions/upload-artifact@v4
51+
uses: actions/upload-artifact@v3
5252
with:
5353
name: openmldb-tool-test-result-${{ github.sha }}
5454
path: |
@@ -57,6 +57,9 @@ jobs:
5757
openmldb-tool-name:
5858
runs-on: [self-hosted,generic]
5959
if: github.repository == '4paradigm/OpenMLDB'
60+
env:
61+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
62+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
6063
container:
6164
image: ghcr.io/4paradigm/hybridsql:latest
6265
steps:
@@ -82,7 +85,7 @@ jobs:
8285
bash openmldb/sbin/stop-all.sh && bash openmldb/sbin/clear-all.sh
8386
- name: upload python test results
8487
if: always()
85-
uses: actions/upload-artifact@v4
88+
uses: actions/upload-artifact@v3
8689
with:
8790
name: openmldb-tool-test-result-${{ github.sha }}
8891
path: |

0 commit comments

Comments
 (0)