From c63d7f861ffbcdc0e2d9e5c3b6b24530aec44dd2 Mon Sep 17 00:00:00 2001 From: William Galvin Date: Sun, 27 Oct 2024 21:00:58 -0700 Subject: [PATCH] manually do upload --- .../build_and_upload_conda_apple.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_and_upload_conda_apple.yml b/.github/workflows/build_and_upload_conda_apple.yml index bd993a6..9506fbc 100644 --- a/.github/workflows/build_and_upload_conda_apple.yml +++ b/.github/workflows/build_and_upload_conda_apple.yml @@ -7,10 +7,10 @@ on: env: CONDA_SUBDIR: osx-arm64 - CMAKE_ARGS: "-DCMAKE_OSX_ARCHITECTURES=arm64" + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} jobs: - conda_deployment_with_new_tag: + conda_deployment: name: Conda deployment of package with ${{ matrix.os }} Python ${{ matrix.python-version }} runs-on: ${{ matrix.os }} strategy: @@ -29,13 +29,13 @@ jobs: environment-file: devtools/conda-envs/build_env.yaml # Path to the build conda environment miniconda-version: latest auto-update-conda: false - auto-activate-base: false + auto-activate-base: true show-channel-urls: true - name: Build and upload the conda packages - uses: uibcdf/action-build-and-upload-conda-packages@v1.3.0 - with: - meta_yaml_dir: devtools/conda-build - python-version: ${{ matrix.python-version }} - user: statphysbio - label: auto - token: ${{ secrets.ANACONDA_TOKEN }} + run: | + conda build devtools/conda-build --no-test --output-folder ./build -c conda-forge + for filename in $dirname/*; do + if [ "${filename: -8}" == ".tar.bz2" ]; then + anaconda upload --user statphysbio --label $filename + fi + done \ No newline at end of file