File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,19 +121,19 @@ jobs:
121121 mamba-version : " *"
122122 channels : conda-forge
123123 conda-remove-defaults : " true"
124+ - run : conda install boa anaconda-client
124125 - name : conda build & test
125126 working-directory : recipe
126127 run : |
127- conda install boa
128128 conda mambabuild . -c conda-forge -c https://tomography.stfc.ac.uk/conda --override-channels --python=${{ matrix.python-version }} --numpy=${{ matrix.numpy-version }} --output-folder .
129129 - uses : actions/upload-artifact@v4
130130 with :
131131 name : cil-package-py${{ matrix.python-version }}-np${{ matrix.numpy-version }}
132132 path : recipe/linux-64/cil*
133133 - name : anaconda upload -c ccpi
134- if : github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')
134+ if : >
135+ (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) && matrix.numpy-version == '1.26'
135136 run : |
136- conda install anaconda-client
137137 anaconda -v -t ${{ secrets.CCPI_CONDA_TOKEN }} upload --force --label ${{ startsWith(github.ref, 'refs/tags') && 'main' || 'dev' }} recipe/linux-64/cil*
138138 - name : conda upload -c tomography.stfc.ac.uk/conda
139139 if : startsWith(github.ref, 'refs/tags')
You can’t perform that action at this time.
0 commit comments