Skip to content

Commit a5e1664

Browse files
CI: fix conda upload *.conda instead of *.tar.bz2 (#2228)
Signed-off-by: Laura Murgatroyd <60604372+lauramurgatroyd@users.noreply.github.com>
1 parent 406d0bb commit a5e1664

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
- uses: actions/upload-artifact@v4
147147
with:
148148
name: cil-py${{ matrix.python-version }}-${{ matrix.os }}
149-
path: dist/*/cil-*.tar.bz2
149+
path: dist/*/cil-*
150150
conda-test:
151151
defaults: {run: {shell: 'bash -el {0}'}}
152152
runs-on: ${{ matrix.os }}-${{ matrix.os == 'ubuntu' && '24.04' || '2022' }}
@@ -173,7 +173,7 @@ jobs:
173173
- name: conda test
174174
run: >
175175
conda mambabuild -c conda-forge -c https://software.repos.intel.com/python/conda -c ccpi --override-channels --python=${{ matrix.python-version }}
176-
--test dist/*/cil-*.tar.bz2 --extra-deps numpy=${{ matrix.numpy-version }}
176+
--test dist/*/cil-* --extra-deps numpy=${{ matrix.numpy-version }}
177177
conda-upload:
178178
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')
179179
defaults: {run: {shell: 'bash -el {0}', working-directory: dist}}
@@ -192,13 +192,13 @@ jobs:
192192
- name: anaconda upload -c ccpi
193193
run: >
194194
anaconda -v -t ${{ secrets.CCPI_CONDA_TOKEN }} upload --force
195-
--label ${{ startsWith(github.ref, 'refs/tags') && 'main' || 'dev' }} */cil-*.tar.bz2
195+
--label ${{ startsWith(github.ref, 'refs/tags') && 'main' || 'dev' }} */cil-*
196196
- if: startsWith(github.ref, 'refs/tags')
197197
name: conda upload -c tomography.stfc.ac.uk/conda
198198
run: |
199199
echo '${{ secrets.STFC_SSH_KEY }}' > ./key
200200
chmod 600 ./key
201-
rsync -e 'ssh -o StrictHostKeyChecking=no -i ./key' -R */cil-*.tar.bz2 '${{ secrets.STFC_SSH_HOST }}:${{ secrets.STFC_SSH_CONDA_DIR }}'
201+
rsync -e 'ssh -o StrictHostKeyChecking=no -i ./key' -R */cil-* '${{ secrets.STFC_SSH_HOST }}:${{ secrets.STFC_SSH_CONDA_DIR }}'
202202
ssh -o StrictHostKeyChecking=no -i ./key ${{ secrets.STFC_SSH_HOST }} \
203203
'bash -lic "conda index --bz2 --zst --run-exports --channeldata --rss -n ccpi ${{ secrets.STFC_SSH_CONDA_DIR }}"'
204204
docs:

0 commit comments

Comments
 (0)