Skip to content

Commit

Permalink
Merge pull request #84 from neutrons/add-both-recipes
Browse files Browse the repository at this point in the history
Fix for the fact we have two conda recipes to deploy
  • Loading branch information
marshallmcdonnell authored Jan 26, 2021
2 parents c8558ca + 71daa13 commit e0a9098
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,24 @@ jobs:
pip install coverage
bash <(curl -s https://codecov.io/bash)
- name: Deploy to Anaconda
- name: Deploy full package to Anaconda
shell: bash -l {0}
if: startsWith( github.ref, 'refs/tags/v')
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
conda install -y anaconda-client conda-build conda-verify
cd conda.recipe
cd conda.recipe/mantid-total-scattering
conda build --output-folder . .
anaconda upload --label main linux-64/*.tar.bz2
- name: Deploy python wrapper to Anaconda
shell: bash -l {0}
if: startsWith( github.ref, 'refs/tags/v')
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
conda install -y anaconda-client conda-build conda-verify
cd conda.recipe/mantid-total-scattering-python-wrapper
conda build --output-folder . .
anaconda upload --label main noarch/*.tar.bz2

0 comments on commit e0a9098

Please sign in to comment.