e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
28 lines
686 B
YAML
28 lines
686 B
YAML
name: step_create_conda_environment
|
|
inputs:
|
|
condaEnvironmentFilePath:
|
|
required: false
|
|
default: "scripts/building/release-env.yml"
|
|
type: string
|
|
pythonVersion:
|
|
required: false
|
|
default: "3.9"
|
|
type: string
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Setup Miniconda
|
|
uses: conda-incubator/setup-miniconda@v2
|
|
with:
|
|
miniconda-version: "latest"
|
|
activate-environment: release-env
|
|
environment-file: ${{ inputs.condaEnvironmentFilePath }}
|
|
python-version: ${{ inputs.pythonVersion }}
|
|
auto-activate-base: false
|
|
auto-update-conda: true
|
|
- run: |
|
|
conda info
|
|
conda list
|
|
python --version
|
|
shell: bash -el {0}
|