File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Nightly
22
3- on : push
4- # on:
5- # schedule:
6- # # every night at midnight
7- # - cron: '0 0 * * *'
8- # workflow_dispatch:
3+ # on: push
4+ on :
5+ schedule :
6+ # every night at midnight
7+ - cron : ' 0 0 * * *'
8+ workflow_dispatch :
99
1010
1111jobs :
12- # uploading master and devel tarballs to web server , for use in subsequent tests
12+ # uploading master and devel tarballs as artifacts , for use in subsequent tests
1313 # the base tests that use these uploaded tarballs are the DIRAC "pilot wrapper" tests:
1414 # https://github.com/DIRACGrid/DIRAC/actions?query=workflow%3A%22pilot+wrapper%22
1515 # (triggered by https://github.com/DIRACGrid/DIRAC/blob/integration/.github/workflows/pilotWrapper.yml)
3131
3232 - name : create artifacts
3333 run : |
34- pwd
3534 mkdir tmp_dir
3635 cp Pilot/*.py tmp_dir/
3736 cp tests/pilot.json tmp_dir/
@@ -40,17 +39,12 @@ jobs:
4039 tar -cf pilot.tar *.py
4140 # make the checksums file
4241 sha512sum pilot.tar pilot.json *.py > checksums.sha512
43- cd ..
44- cp tmp_dir/checksums.sha512 .
45- cp tmp_dir/pilot.tar .
46- pwd
47- ls -l
48- cp tmp_dir/checksums.sha512 ../
49- cp tmp_dir/pilot.tar ../
42+ # remove unneeded files
43+ rm *.py
5044
5145 - name : upload artifacts
5246 uses : actions/upload-artifact@v4
5347 with :
5448 name : Pilot_${{ matrix.branch }}
5549 path : tmp_dir
56- retention-days : 2
50+ retention-days : 1
You can’t perform that action at this time.
0 commit comments