Skip to content

Commit bf1d7b3

Browse files
author
André Böni
committed
+ automated conda publish
1 parent 68ff7ee commit bf1d7b3

File tree

4 files changed

+6666
-7785
lines changed

4 files changed

+6666
-7785
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,21 @@ jobs:
123123
with:
124124
repository-url: https://test.pypi.org/legacy/
125125

126-
publish-to-conda:
126+
conda_deployment_with_new_tag:
127+
name: Conda deployment of package
127128
runs-on: ubuntu-latest
129+
128130
steps:
129-
- uses: actions/checkout@master
130-
- name: publish-to-conda
131-
uses: maxibor/[email protected]
131+
- name: Check out repository code
132+
uses: actions/checkout@master
133+
- name: Setup pixi
134+
uses: prefix-dev/[email protected]
132135
with:
133-
subDir: 'conda.recipe'
134-
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
136+
pixi-version: v0.37.0
137+
cache: false
138+
- name: Build a binary wheel and a source tarball
139+
run: pixi run conda-build
140+
- name: anaconda login
141+
run: pixi r -e build anaconda login --username ${{ secrets.ANACONDA_USERNAME }} --password ${{ secrets.ANACONDA_PASSWORD }}
142+
- name: anaconda upload
143+
run: pixi r -e build anaconda upload --user dartlab-llui -p gaitalytics --no-register --skip-existing .\conda\conda-build\noarch\*.tar.bz2

conda.recipe/meta.yaml renamed to conda/meta.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "gaitalytics" %}
2-
{% set version = '0.2.1.post2' %}
2+
{% set version = '0.2.1.post3' %}
33

44

55
package:
@@ -33,8 +33,8 @@ requirements:
3333
- scipy >=1.13
3434
- numpy >=1.23
3535
- xarray >=2024.6.0
36-
- pyomeca >=2021.0
37-
- ezc3d >=1.5.10,*=*python*
36+
- pyomeca >=2024.0.2
37+
- ezc3d >=1.5.17,*=*python*
3838

3939
test:
4040
source_files:

0 commit comments

Comments
 (0)