From b19e0f0b35c6c8bf06f45dff9f3a17a167c47004 Mon Sep 17 00:00:00 2001 From: stevenhsd <56357022+stevenhsd@users.noreply.github.com> Date: Thu, 2 Jul 2026 10:37:56 +0100 Subject: [PATCH 1/5] ci: attempt to fix automated upload of conda package --- .github/workflows/ci_conda_publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci_conda_publish.yml b/.github/workflows/ci_conda_publish.yml index 71ec462..7f2b594 100644 --- a/.github/workflows/ci_conda_publish.yml +++ b/.github/workflows/ci_conda_publish.yml @@ -84,6 +84,5 @@ jobs: ANACONDA_USER = ${{ secrets.ANACONDA_USER }} shell: bash -el {0} run: | - anaconda login --user "$ANACONDA_USER" + anaconda login --token "$ANACONDA_TOKEN" anaconda upload --user "$ANACONDA_USER" "$CONDA_ART" - # TODO - haven't been able to get the login working. Needs fixing From e6b17ce9a1786e4900211f663d8d23916afc2411 Mon Sep 17 00:00:00 2001 From: stevenhsd <56357022+stevenhsd@users.noreply.github.com> Date: Thu, 2 Jul 2026 11:50:41 +0100 Subject: [PATCH 2/5] ci: bump grayskull --- .github/workflows/ci_conda_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_conda_publish.yml b/.github/workflows/ci_conda_publish.yml index 7f2b594..0c80d82 100644 --- a/.github/workflows/ci_conda_publish.yml +++ b/.github/workflows/ci_conda_publish.yml @@ -18,7 +18,7 @@ jobs: - name: Install conda requirements shell: bash -el {0} run: | - conda install -c conda-forge conda-build grayskull=3.1.0 + conda install -c conda-forge conda-build grayskull=3.1.1 - name: Build conda metadata shell: bash -el {0} From f41336aec253c204c84e52eac1b4d050447323c5 Mon Sep 17 00:00:00 2001 From: stevenhsd <56357022+stevenhsd@users.noreply.github.com> Date: Thu, 2 Jul 2026 12:05:48 +0100 Subject: [PATCH 3/5] ci: tweak use of vars --- .github/workflows/ci_conda_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_conda_publish.yml b/.github/workflows/ci_conda_publish.yml index 0c80d82..c9d2e11 100644 --- a/.github/workflows/ci_conda_publish.yml +++ b/.github/workflows/ci_conda_publish.yml @@ -80,8 +80,8 @@ jobs: - name: Upload Conda Artifact env: - ANACONDA_TOKEN = ${{ secrets.ANACONDA_TOKEN }} - ANACONDA_USER = ${{ secrets.ANACONDA_USER }} + ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} + ANACONDA_USER: ${{ secrets.ANACONDA_USER }} shell: bash -el {0} run: | anaconda login --token "$ANACONDA_TOKEN" From d6939ba1e86103a3acd1d9add6a65d7f42484394 Mon Sep 17 00:00:00 2001 From: stevenhsd <56357022+stevenhsd@users.noreply.github.com> Date: Thu, 2 Jul 2026 12:58:01 +0100 Subject: [PATCH 4/5] ci: change approach to anaconda login - use anaconda-auth --- .github/workflows/ci_conda_publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_conda_publish.yml b/.github/workflows/ci_conda_publish.yml index c9d2e11..baa2808 100644 --- a/.github/workflows/ci_conda_publish.yml +++ b/.github/workflows/ci_conda_publish.yml @@ -64,7 +64,7 @@ jobs: - name: Install conda dependencies shell: bash -el {0} run: | - conda install anaconda-client + conda install anaconda-client anaconda-auth - name: Download conda art uses: actions/download-artifact@v6 @@ -80,9 +80,8 @@ jobs: - name: Upload Conda Artifact env: - ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} + ANACONDA_AUTH_API_KEY: ${{ secrets.ANACONDA_TOKEN }} ANACONDA_USER: ${{ secrets.ANACONDA_USER }} shell: bash -el {0} run: | - anaconda login --token "$ANACONDA_TOKEN" anaconda upload --user "$ANACONDA_USER" "$CONDA_ART" From 56ed5b2a048e8d7b99a56b3df04ee80dce8f7eed Mon Sep 17 00:00:00 2001 From: stevenhsd <56357022+stevenhsd@users.noreply.github.com> Date: Thu, 2 Jul 2026 20:39:24 +0100 Subject: [PATCH 5/5] ci: rejig conda ci attempt --- .github/workflows/ci_conda_publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_conda_publish.yml b/.github/workflows/ci_conda_publish.yml index baa2808..dd1dbe2 100644 --- a/.github/workflows/ci_conda_publish.yml +++ b/.github/workflows/ci_conda_publish.yml @@ -64,7 +64,7 @@ jobs: - name: Install conda dependencies shell: bash -el {0} run: | - conda install anaconda-client anaconda-auth + conda install anaconda-client - name: Download conda art uses: actions/download-artifact@v6 @@ -76,12 +76,12 @@ jobs: shell: bash -el {0} run: | CONDA_ART="$(find conda_dist/noarch/ -type f -name '*.conda' | head -n 1)" - echo "CONDA_ART=$CONDA_ART" >> "$CONDA_ART" + echo "CONDA_ART=$CONDA_ART" >> "$GITHUB_ENV" - name: Upload Conda Artifact env: - ANACONDA_AUTH_API_KEY: ${{ secrets.ANACONDA_TOKEN }} + ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} ANACONDA_USER: ${{ secrets.ANACONDA_USER }} shell: bash -el {0} run: | - anaconda upload --user "$ANACONDA_USER" "$CONDA_ART" + anaconda --token $ANACONDA_TOKEN upload --user "$ANACONDA_USER" "$CONDA_ART"