diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f50de2a..cef2a6c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,13 +33,15 @@ jobs: - name: Prepare run: conda install conda-build=24.9 conda-verify pytest anaconda-client + + - name: Disable upload + run: conda config --set anaconda_upload no + - name: Enable upload if: github.ref == 'refs/heads/main' run: conda config --set anaconda_upload yes - - - name: Disable upload - if: github.ref == 'refs/heads/main' - run: conda config --set anaconda_upload no + + - name: Build env: