Skip to content

again

again #6

Workflow file for this run

name: Build conda packages
on:
push:
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-latest"] #${{ fromJSON(vars.BUILD_OS)}}
python-version: [3.11] #${{ fromJSON(vars.PYTHON_VERSIONS)}}
steps:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
if: matrix.os == 'windows-latest'
uses: microsoft/setup-msbuild@v2

Check failure on line 21 in .github/workflows/conda.yml

View workflow run for this annotation

GitHub Actions / Build conda packages

Invalid workflow file

The workflow is not valid. .github/workflows/conda.yml (Line: 21, Col: 9): 'uses' is already defined
- uses: actions/checkout@v4
- name: update submodules
# shell: bash -l {0}
run: |
git submodule update --init --recursive
- name: Conda build
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
shell: bash -l {0}
run: |
conda install -c conda-forge conda-build scikit-build-core numpy cython anaconda-client conda-libmamba-solver -y
conda build -c conda-forge -c loop3d --output-folder conda conda --python ${{matrix.python-version}}
# conda convert -p all conda/linux-64/*.tar.bz2 -f -o conda
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: conda-build-${{ matrix.python-version }}-${{ matrix.os }}
path: conda