forked from CABLE-LSM/benchcab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d78feb
commit dbe4b42
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |