diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd24c37..5bcbcb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,8 +61,8 @@ jobs: uses: conda-incubator/setup-miniconda@v3 with: python-version: 3.9 - channels: conda-forge + channels: microsoft,conda-forge - name: Prepare run: conda install conda-build conda-verify - name: Build - run: conda build . -c microsoft -c conda-forge + run: conda build . diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5a95d70..1d55158 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -5,12 +5,6 @@ name: Upload Python Package on: release: types: [published] - # == TEMP - pull_request: - branches: - - "*" - # == TEMP - jobs: deploy-conda: runs-on: ubuntu-latest @@ -26,8 +20,8 @@ jobs: - name: Prepare run: conda install anaconda-client conda-build conda-verify - name: Build and Upload - # env: - # ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} + env: + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} run: | - # conda config --set anaconda_upload yes + conda config --set anaconda_upload yes conda build --user microsoft .