We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c1c454 commit 735cdc5Copy full SHA for 735cdc5
1 file changed
.github/workflows/ci.yml
@@ -57,8 +57,18 @@ jobs:
57
- name: Install conda tools
58
run: conda install -y conda-build anaconda-client
59
60
+ - name: Extract version from pyproject.toml
61
+ id: extract_version
62
+ working-directory: .
63
+ run: |
64
+ VERSION=$(awk -F\" '/^version =/ { print $2; exit }' pyproject.toml)
65
+ echo "VERSION=$VERSION" >> $GITHUB_ENV
66
+ echo "Extracted version: $VERSION"
67
+
68
- name: Dry-run conda build
69
shell: bash -l {0}
70
working-directory: recipe
71
+ env:
72
+ VERSION: ${{ env.VERSION }}
73
run: |
74
conda build . --channel conda-forge --channel bioconda
0 commit comments