Skip to content

Commit

Permalink
Test cd
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanBryan51 committed Jun 8, 2023
1 parent 9d78feb commit dbe4b42
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .conda/build_env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Required for 'Build and upload conda packages' workflow

channels:
- conda-forge
- default

dependencies:
- anaconda-client
- conda-build
27 changes: 27 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and upload conda packages

on:
release:
types: [released]

jobs:
conda_deployment:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: '3.9'
environment-file: .conda/build_env.yaml
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
- name: Build and upload the conda packages
uses: uibcdf/[email protected]
with:
python-version: '3.9'
user: seanbryan
label: master
token: ${{ secrets.ANACONDA_TOKEN }}

0 comments on commit dbe4b42

Please sign in to comment.