@@ -33,12 +33,11 @@ jobs:
3333
3434 - name : Download produced wheels
3535 uses : actions/download-artifact@v4
36+ with :
37+ merge-multiple : true
3638
37- - name : Install Kerberos utilities
38- run : sudo apt-get install -y krb5-user
39-
40- - name : Install XRootD client
41- run : sudo apt-get -y install xrootd-client
39+ - name : Install required system packages
40+ run : sudo apt-get install -y krb5-user xrootd-client
4241
4342 - name : Setup Python
4443 uses : actions/setup-python@v5
5150 python -m pip install --user simple503
5251 simple503 wheelhouse
5352
54- - name : Upload wheel registry to github
55- uses : actions/upload-artifact@v4
56- with :
57- name : cibw-wheels-registry
58- path : wheelhouse
53+ - name : Compute number of files to upload
54+ id : nfiles
55+ run : echo "NFILES=$(find wheelhouse -maxdepth 1 | wc -l)" >> "$GITHUB_OUTPUT"
5956
6057 - name : Upload wheels to EOS
6158 env :
6461 EOS_PATH : /eos/project/r/root-eos/www/experimental-python-wheels
6562 EOS_ENDPOINT : root://eosproject-r.cern.ch
6663 KRB5CCNAME : /tmp/krb5cc
64+ NFILES : ${{ steps.nfiles.outputs.NFILES }}
6765 working-directory : ${{ env.WORKDIR }}
6866 run : |
6967 echo +++ Content
7371 echo +++ Creating the token
7472 kinit -p ${{ secrets.KRB5USER }}@${{ secrets.KRB5REALM }} -kt ${KT_FILE_NAME}
7573 echo +++ Running the copy
76- xrdcp --parallel 6 -rf wheelhouse/* ${EOS_ENDPOINT}/${EOS_PATH}/
74+ xrdcp --parallel ${NFILES} -rf wheelhouse/* ${EOS_ENDPOINT}/${EOS_PATH}/
0 commit comments