1818 xmllint-before-build :
1919 runs-on : ubuntu-latest
2020 steps :
21- - uses : actions/checkout@v4
21+ - uses : actions/checkout@v5
2222 - run : |
2323 sudo apt-get update
2424 sudo apt-get install -y libxml2-utils
3030 configs_csv : ${{ steps.list-detector-configs.outputs.configs_csv }}
3131 configs_json : ${{ steps.list-detector-configs.outputs.configs_json }}
3232 steps :
33- - uses : actions/checkout@v4
33+ - uses : actions/checkout@v5
3434 - id : list-detector-configs
3535 run : |
3636 CONFIGS_CSV=$(
6060 env :
6161 PREFIX : ${{ github.workspace }}/install
6262 steps :
63- - uses : actions/checkout@v4
63+ - uses : actions/checkout@v5
6464 - name : Prepare ccache timestamp
6565 id : ccache_cache_timestamp
6666 run : |
@@ -116,7 +116,7 @@ jobs:
116116 runs-on : ubuntu-latest
117117 needs : build
118118 steps :
119- - uses : actions/download-artifact@v4
119+ - uses : actions/download-artifact@v5
120120 with :
121121 name : build-gcc-full-eic-shell
122122 path : install/
@@ -145,8 +145,8 @@ jobs:
145145 - build
146146 - check-tracking-geometry
147147 steps :
148- - uses : actions/checkout@v4
149- - uses : actions/download-artifact@v4
148+ - uses : actions/checkout@v5
149+ - uses : actions/download-artifact@v5
150150 with :
151151 name : build-gcc-full-eic-shell
152152 path : install/
@@ -165,7 +165,8 @@ jobs:
165165 name : material_map
166166 path : |
167167 scripts/material_map/*.json
168- scripts/material_map/*.root
168+ scripts/material_map/material-map.cbor
169+ scripts/material_map/plots/
169170 scripts/material_map/Surfaces/
170171 scripts/material_map/Validation/
171172 if-no-files-found : error
@@ -201,8 +202,8 @@ jobs:
201202 matrix :
202203 detector_config : [epic_craterlake]
203204 steps :
204- - uses : actions/checkout@v4
205- - uses : actions/download-artifact@v4
205+ - uses : actions/checkout@v5
206+ - uses : actions/download-artifact@v5
206207 with :
207208 name : build-gcc-full-eic-shell
208209 path : install/
@@ -228,8 +229,8 @@ jobs:
228229 matrix :
229230 detector_config : [epic_craterlake]
230231 steps :
231- - uses : actions/checkout@v4
232- - uses : actions/download-artifact@v4
232+ - uses : actions/checkout@v5
233+ - uses : actions/download-artifact@v5
233234 with :
234235 name : build-gcc-full-eic-shell
235236 path : install/
@@ -296,8 +297,8 @@ jobs:
296297 detector_config : [epic_craterlake] # FIXME
297298 fail-fast : false
298299 steps :
299- - uses : actions/checkout@v4
300- - uses : actions/download-artifact@v4
300+ - uses : actions/checkout@v5
301+ - uses : actions/download-artifact@v5
301302 with :
302303 name : build-gcc-full-eic-shell
303304 path : install/
@@ -318,8 +319,8 @@ jobs:
318319 needs : build
319320 if : github.ref == 'refs/heads/main'
320321 steps :
321- - uses : actions/checkout@v4
322- - uses : actions/download-artifact@v4
322+ - uses : actions/checkout@v5
323+ - uses : actions/download-artifact@v5
323324 with :
324325 name : build-gcc-full-eic-shell
325326 path : install/
@@ -349,8 +350,8 @@ jobs:
349350 detector_config : [epic_craterlake]
350351 fail-fast : false
351352 steps :
352- - uses : actions/checkout@v4
353- - uses : actions/download-artifact@v4
353+ - uses : actions/checkout@v5
354+ - uses : actions/download-artifact@v5
354355 with :
355356 name : build-gcc-full-eic-shell
356357 path : install/
@@ -374,8 +375,8 @@ jobs:
374375 detector_config : [epic_inner_detector, epic_craterlake]
375376 fail-fast : false
376377 steps :
377- - uses : actions/checkout@v4
378- - uses : actions/download-artifact@v4
378+ - uses : actions/checkout@v5
379+ - uses : actions/download-artifact@v5
379380 with :
380381 name : build-gcc-fast-eic-shell
381382 path : install/
@@ -395,6 +396,8 @@ jobs:
395396 runs-on : ubuntu-latest
396397 if : github.actor != 'dependabot[bot]' && github.ref != 'refs/heads/main'
397398 needs : [check-overlap-tgeo, check-overlap-geant4-fast]
399+ outputs :
400+ json : ${{ steps.trigger.outputs.json }}
398401 steps :
399402 - uses : eic/trigger-gitlab-ci@v3
400403 id : trigger
@@ -433,8 +436,8 @@ jobs:
433436 detector_config : [epic_craterlake]
434437 fail-fast : false
435438 steps :
436- - uses : actions/checkout@v4
437- - uses : actions/download-artifact@v4
439+ - uses : actions/checkout@v5
440+ - uses : actions/download-artifact@v5
438441 with :
439442 name : build-gcc-fast-eic-shell
440443 path : install/
@@ -462,8 +465,8 @@ jobs:
462465 detector_config : [epic_craterlake]
463466 fail-fast : false
464467 steps :
465- - uses : actions/checkout@v4
466- - uses : actions/download-artifact@v4
468+ - uses : actions/checkout@v5
469+ - uses : actions/download-artifact@v5
467470 with :
468471 name : ${{ matrix.detector_config }}.prim
469472 path : prim/
@@ -492,8 +495,8 @@ jobs:
492495 detector_config : [epic_craterlake]
493496 fail-fast : false
494497 steps :
495- - uses : actions/checkout@v4
496- - uses : actions/download-artifact@v4
498+ - uses : actions/checkout@v5
499+ - uses : actions/download-artifact@v5
497500 with :
498501 name : ${{ matrix.detector_config }}.prim
499502 path : prim/
@@ -536,8 +539,8 @@ jobs:
536539 particle : [pi, e]
537540 detector_config : [epic_craterlake]
538541 steps :
539- - uses : actions/checkout@v4
540- - uses : actions/download-artifact@v4
542+ - uses : actions/checkout@v5
543+ - uses : actions/download-artifact@v5
541544 with :
542545 name : build-gcc-full-eic-shell
543546 path : install/
@@ -569,7 +572,6 @@ jobs:
569572 platform-release : " eic_xl:nightly"
570573 setup : install/bin/thisepic.sh
571574 run : |
572- export PYTHONPATH=$HOME/.local/lib/python3.10/site-packages:$PYTHONPATH
573575 mkdir capybara-reports
574576 shopt -s nullglob
575577 capybara bara ref/sim_${{ matrix.particle }}_1GeV_20GeV_${{ matrix.detector_config }}.edm4hep.root* sim_${{ matrix.particle }}_1GeV_20GeV_${{ matrix.detector_config }}.edm4hep.root
@@ -595,8 +597,8 @@ jobs:
595597 - beam : 5x41
596598 minq2 : 1000
597599 steps :
598- - uses : actions/checkout@v4
599- - uses : actions/download-artifact@v4
600+ - uses : actions/checkout@v5
601+ - uses : actions/download-artifact@v5
600602 with :
601603 name : build-gcc-full-eic-shell
602604 path : install/
@@ -638,8 +640,6 @@ jobs:
638640 platform-release : " eic_xl:nightly"
639641 setup : install/bin/thisepic.sh
640642 run : |
641- pip install 'pygithub>=2' 'bokeh>=3'
642- export PYTHONPATH=$HOME/.local/lib/python3.10/site-packages:$PYTHONPATH
643643 mkdir capybara-reports
644644 shopt -s nullglob
645645 capybara bara ref/sim_dis_${{matrix.beam}}_minQ2=${{matrix.minq2}}_${{ matrix.detector_config }}.edm4hep.root* sim_dis_${{matrix.beam}}_minQ2=${{matrix.minq2}}_${{ matrix.detector_config }}.edm4hep.root
@@ -675,12 +675,12 @@ jobs:
675675 - merge-parameter-table
676676 - merge-dawn-view
677677 steps :
678- - uses : actions/checkout@v4
679- - uses : actions/download-artifact@v4
678+ - uses : actions/checkout@v5
679+ - uses : actions/download-artifact@v5
680680 with :
681681 path : artifacts/
682682 - uses : actions/jekyll-build-pages@v1
683- - uses : actions/upload-pages-artifact@v3
683+ - uses : actions/upload-pages-artifact@v4
684684 with :
685685 retention-days : 7
686686
@@ -699,3 +699,16 @@ jobs:
699699 - name : Deploy to GitHub Pages
700700 id : deployment
701701 uses : actions/deploy-pages@v4
702+
703+ cancel-container :
704+ if : cancelled() || failure()
705+ needs :
706+ - trigger-container
707+ - deploy-artifacts-page
708+ runs-on : ubuntu-latest
709+ steps :
710+ - name : Cancel container
711+ run : |
712+ curl --request POST \
713+ --header "PRIVATE-TOKEN: ${{ secrets.EICWEB_CONTAINER_CANCEL }}" \
714+ https://eicweb.phy.anl.gov/api/v4/projects/290/pipelines/$(echo '${{ needs.trigger-container.outputs.json }}' | jq --raw-output .id)/cancel
0 commit comments