Skip to content

Commit 17afc86

Browse files
authored
Remove workflow parts that upload to old conda repo (#2836)
2 parents 2d04dc5 + d4c03e7 commit 17afc86

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

.github/actions/publish-package/action.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@ inputs:
55
description: 'Anaconda repository'
66
required: true
77
default: 'mantidimaging'
8-
repository-old:
9-
description: 'Anaconda repository - old'
10-
required: true
11-
default: 'mantid'
128
label:
139
description: 'Label'
1410
required: false
1511
default: 'unstable'
1612
token:
1713
description: 'Anaconda API Token'
1814
required: true
19-
token-old:
20-
description: 'Anaconda API Token - old'
21-
required: true
2215

2316
description: Build conda package
2417
runs:
@@ -46,6 +39,5 @@ runs:
4639
# if the upload silently fails - check the token expiration. Conda can fail silently!
4740
conda mambabuild $GITHUB_WORKSPACE/conda
4841
anaconda -t ${{ inputs.token }} upload --user ${{ inputs.repository }} --label ${{ inputs.label }} ${CONDA_PREFIX}/conda-bld/*/mantidimaging*.tar.bz2 |& tee upload.log
49-
anaconda -t ${{ inputs.token-old }} upload --user ${{ inputs.repository-old }} --label ${{ inputs.label }} ${CONDA_PREFIX}/conda-bld/*/mantidimaging*.tar.bz2
5042
# Check that upload completed
5143
grep "Upload complete" upload.log

.github/workflows/conda.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,3 @@ jobs:
152152
with:
153153
label: unstable
154154
token: ${{ secrets.ANACONDA_API_TOKEN_MANTIDIMAGING }}
155-
token-old: ${{ secrets.ANACONDA_API_TOKEN }}

.github/workflows/windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,3 @@ jobs:
139139
with:
140140
label: unstable
141141
token: ${{ secrets.ANACONDA_API_TOKEN_MANTIDIMAGING }}
142-
token-old: ${{ secrets.ANACONDA_API_TOKEN }}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#2763: Only publish on https://anaconda.org/mantidimaging/mantidimaging

0 commit comments

Comments
 (0)