Skip to content

Commit

Permalink
maybe without setupminiconda
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertDeFusco committed Feb 4, 2024
1 parent f47eda0 commit 3d2e174
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,13 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: build-conda-token
environment-file: etc/build-environment.yml
python-version: 3.8
auto-activate-base: false
- name: Create build environment
run: |
source $CONDA/bin/activate
conda env create -f etc/build-environment.yml
- name: conda Build
shell: bash -l {0}
run: |
source $CONDA/bin/activate && conda activate build-conda-project
VERSION=`hatch version` conda build -c conda-forge --output-folder conda-build conda.recipe
- name: Upload the build artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3d2e174

Please sign in to comment.