Skip to content

Commit

Permalink
ci: fix upload to conda
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Oct 4, 2024
1 parent 19b9755 commit e4c079f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_before-conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
if: steps.cache-env.outputs.cache-hit != 'true'

- name: Install dependencies
run: mamba install boa rattler-build anaconda-client
run: mamba install boa rattler-build
if: steps.cache-env.outputs.cache-hit != 'true'

- name: Update conda & dependencies
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,11 @@ jobs:
use-mamba: true

- name: Publish to conda
shell: bash -l {0}
run: |
anaconda upload ~/conda-rel/noarch/openfisca-core-* \
--token ${{ secrets.ANACONDA_TOKEN }}
--user openfisca
--force
rattler-build upload anaconda ~/conda-rel/noarch/*.conda \
--force \
--owner openfisca \
--api-key ${{ secrets.ANACONDA_TOKEN }}
test-on-windows:
runs-on: windows-2019
Expand All @@ -245,9 +244,7 @@ jobs:
uses: actions/checkout@v4

- name: Install with conda
shell: bash -l {0}
run: conda install -c openfisca openfisca-core

- name: Test openfisca
shell: bash -l {0}
run: openfisca --help

0 comments on commit e4c079f

Please sign in to comment.