-
Notifications
You must be signed in to change notification settings - Fork 2
60 lines (48 loc) · 1.3 KB
/
geocover.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Build conda and pip packages
on:
workflow_call:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- master
- develop
- 'releases/**'
jobs:
build-markdown:
name: Build conda and pip packages
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install miniconda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.12
channels: conda-forge,defaults
channel-priority: true
activate-environment: DATAMODEL
environment-file: environment.yaml
- name: conda install
shell: bash -el {0}
run: $CONDA/bin/conda install conda-build anaconda-client -y
- name: Check conda installation
shell: bash -el {0}
run: |
conda info
conda list
conda config --show-sources
conda config --show
printenv | sort
- name: conda build
shell: bash -el {0}
run: |
$CONDA/bin/conda build --output-folder ./conda-out/ recipe
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: conda-package
path: |
conda-out/noarch/geocover*.tar.bz2