diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index 2a80c306..ad76ab94 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -13,6 +13,7 @@ on: jobs: conda-build-arm64: runs-on: ubuntu-latest + if: ${{ github.event_name == 'schedule' || github.event_name == 'release' }} strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] @@ -31,7 +32,6 @@ jobs: - name: Build and publish conda package arm64 uses: docker/build-push-action@v4 - if: ${{ github.event_name == 'schedule' || github.event_name == 'release' }} with: context: . file: scripts/Dockerfile_conda_build