-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 961 Bytes
/
romeo.yml
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
---
name: romeo
on:
workflow_dispatch:
jobs:
job_one:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Grab the project source
uses: actions/checkout@v3
- name: Setup conda environment
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
mamba-version: "*"
environment-file: environment.yml
- name: Build Conda Package
run: |
# boa uses mamba to resolve dependencies
cd ./conda.recipe
VERSION="$(versioningit ../) conda mambabuild --output-folder . .
- name: Verify Conda Package
run: |
conda verify conda.recipe/noarch/brucejack*.tar.bz2
- name: Publish to Anaconda.org
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
anaconda upload --label main conda.recipe/noarch/brucejack*.tar.bz2