Skip to content

Commit

Permalink
Upload on release
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Feb 13, 2024
1 parent 7b257ff commit d860971
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 65 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
branches:
- development
release:
types: ['released', 'prereleased']
schedule:
# Every Monday at 11PM UTC
- cron: "0 11 * * 1"
Expand Down Expand Up @@ -55,4 +57,10 @@ jobs:
# curl -sLO https://raw.githubusercontent.com/conda-forge/conda-forge-pinning-feedstock/084b098a28a7a66e9a0967d156bc55b9ebfc6726/recipe/conda_build_config.yaml
# curl -sLO https://github.com/conda-forge/conda-forge-pinning-feedstock/raw/main/recipe/conda_build_config.yaml
conda mambabuild .
- name: Upload Conda Package
if: github.event_name == 'release' && github.event.action == 'created'
with:
shell: bash -el {0}
run: |
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload -u tpeulen --force conda-bld/**/*.tar.bz2
64 changes: 0 additions & 64 deletions .github/workflows/conda-release.yml

This file was deleted.

0 comments on commit d860971

Please sign in to comment.