Skip to content

Commit

Permalink
manually do upload
Browse files Browse the repository at this point in the history
  • Loading branch information
william-galvin committed Oct 28, 2024
1 parent 87810e9 commit c63d7f8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build_and_upload_conda_apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/[email protected]
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

0 comments on commit c63d7f8

Please sign in to comment.