@@ -2,6 +2,12 @@ name: Ubuntu
22
33on :
44 workflow_call :
5+ inputs :
6+ is_nightly :
7+ description : ' Is nightly CI run'
8+ required : false
9+ type : boolean
10+ default : false
511
612permissions :
713 contents : read
1723 password : ${{ secrets.GITHUB_TOKEN }}
1824 strategy :
1925 matrix :
20- os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
26+ os : ${{ fromJSON(inputs.is_nightly && ' ["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
2127 build_type : [Release, Debug]
2228 steps :
2329 - uses : actions/checkout@v6
7177 password : ${{ secrets.GITHUB_TOKEN }}
7278 strategy :
7379 matrix :
74- os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
80+ os : ${{ fromJSON(inputs.is_nightly && ' ["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
7581 steps :
7682 - uses : actions/checkout@v6
7783 - name : Download installed package
@@ -103,7 +109,7 @@ jobs:
103109 password : ${{ secrets.GITHUB_TOKEN }}
104110 strategy :
105111 matrix :
106- os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
112+ os : ${{ fromJSON(inputs.is_nightly && ' ["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
107113 steps :
108114 - uses : actions/checkout@v6
109115 - name : Download installed package
@@ -127,7 +133,7 @@ jobs:
127133 password : ${{ secrets.GITHUB_TOKEN }}
128134 strategy :
129135 matrix :
130- os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
136+ os : ${{ fromJSON(inputs.is_nightly && ' ["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
131137 steps :
132138 - uses : actions/checkout@v6
133139 with :
@@ -172,7 +178,7 @@ jobs:
172178 password : ${{ secrets.GITHUB_TOKEN }}
173179 strategy :
174180 matrix :
175- os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
181+ os : ${{ fromJSON(inputs.is_nightly && ' ["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
176182 steps :
177183 - uses : actions/checkout@v6
178184 - name : Download installed package
@@ -204,7 +210,7 @@ jobs:
204210 password : ${{ secrets.GITHUB_TOKEN }}
205211 strategy :
206212 matrix :
207- os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
213+ os : ${{ fromJSON(inputs.is_nightly && ' ["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
208214 steps :
209215 - uses : actions/checkout@v6
210216 - name : Download installed package
0 commit comments