From e032e059a9b3ba99a438579f848842cad5bc8cb2 Mon Sep 17 00:00:00 2001 From: bsteubing Date: Wed, 17 Jun 2026 19:09:52 -0500 Subject: [PATCH] Next try --- .github/workflows/python-package-deploy.yml | 7 ++----- .github/workflows/release.yaml | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/python-package-deploy.yml b/.github/workflows/python-package-deploy.yml index 717fa084d..57fea24a9 100644 --- a/.github/workflows/python-package-deploy.yml +++ b/.github/workflows/python-package-deploy.yml @@ -54,17 +54,14 @@ jobs: python-version: 3.11 activate-environment: build environment-file: .github/conda-envs/build.yml + conda-build-version: "*" - name: Build a Conda tarbal env: VERSION: ${{ env.VERSION }} run: | - source "${CONDA}/etc/profile.d/conda.sh" - conda activate build echo "Building conda package with VERSION=${VERSION}" conda build -c conda-forge -c cmutel -c lca ./recipe/ - name: Publish to Anaconda run: | - source "${CONDA}/etc/profile.d/conda.sh" - conda activate build anaconda -t ${{ secrets.CONDA_LCA }} upload \ - /usr/share/miniconda/envs/build/conda-bld/noarch/*.conda + /usr/share/miniconda/conda-bld/noarch/*.conda diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ab482aaff..e8a4b4735 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,19 +31,16 @@ jobs: python-version: 3.11 activate-environment: build environment-file: .github/conda-envs/build.yml + conda-build-version: "*" - name: Build activity-browser stable env: VERSION: ${{ github.ref_name }} run: | - source "${CONDA}/etc/profile.d/conda.sh" - conda activate build echo "Building conda package with VERSION=${VERSION}" conda build -c conda-forge -c cmutel -c lca recipe/ - name: Upload to anaconda.org run: | - source "${CONDA}/etc/profile.d/conda.sh" - conda activate build anaconda -t ${{ secrets.CONDA_UPLOAD_TOKEN }} upload \ - /usr/share/miniconda/envs/build/conda-bld/noarch/*.conda + /usr/share/miniconda/conda-bld/noarch/*.conda - name: Update wiki run: ./.github/scripts/update_wiki.sh "Automated documentation update for $GITHUB_REF_NAME" "${{ secrets.GITHUB_TOKEN }}"