Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
postpop authored Nov 6, 2024
1 parent f63b344 commit 45ac47b
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4

- name: Setup miniconda # https://github.com/marketplace/actions/setup-miniconda
uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -46,25 +47,11 @@ jobs:
activate-environment: anaconda-client-env
environment-file: build_env.yml
condarc-file: condarc.yml

- name: Build (${{ matrix.os }})
run: |
mkdir ./build
conda build conda/${{ matrix.folder}} --no-anaconda-upload --python ${{ matrix.python-version }} --output-folder ./build
# - name: Build (Ubuntu)
# if: matrix.os == 'ubuntu-latest'
# run: |
# mkdir ./build
# conda build conda/das-ubuntu --no-anaconda-upload --python ${{ matrix.python-version }} --output-folder ./build
# - name: Build (Windows)
# if: matrix.os == 'windows-latest'
# run: |
# mkdir ./build
# conda build conda/das-win --no-anaconda-upload --python ${{ matrix.python-version }} --output-folder ./build
# - name: Build (Mac arm)
# if: matrix.os == 'macOS-14'
# run: |
# mkdir ./build
# conda build conda/das-osxarm --no-anaconda-upload --python ${{ matrix.python-version }} --output-folder ./build
- name: Test
run: |
Expand All @@ -78,16 +65,4 @@ jobs:
- name: Upload (${{ matrix.os }})
run: |
conda build conda/${{ matrix.folder }} --no-test --python ${{ matrix.python-version }} --output-folder ./build --user ncb --token ${{ secrets.ANACONDA_TOKEN }}
# - name: Upload (Ubuntu)
# if: matrix.os == 'ubuntu-latest'
# run: |
# conda build conda/das-ubuntu --no-test --python ${{ matrix.python-version }} --output-folder ./build --user ncb --token ${{ secrets.ANACONDA_TOKEN }}
# - name: Upload (Windows)
# if: matrix.os == 'windows-latest'
# run: |
# conda build conda/das-win --no-test --python ${{ matrix.python-version }} --output-folder ./build --user ncb --token ${{ secrets.ANACONDA_TOKEN }}
# - name: Upload (Mac arm)
# if: matrix.os == 'macOS-14'
# run: |
# conda build conda/das-osxarm --no-test --python ${{ matrix.python-version }} --output-folder ./build --user ncb --token ${{ secrets.ANACONDA_TOKEN }}

0 comments on commit 45ac47b

Please sign in to comment.