Skip to content

Commit

Permalink
Clean up and align ci with python-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Aug 25, 2024
1 parent 66f7fda commit f3e00d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
12 changes: 3 additions & 9 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ name: Upload Python Package
on:
release:
types: [published]
# == TEMP
pull_request:
branches:
- "*"
# == TEMP

jobs:
deploy-conda:
runs-on: ubuntu-latest
Expand All @@ -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 .

0 comments on commit f3e00d2

Please sign in to comment.