Skip to content

Commit ed8e0bb

Browse files
committed
update workflow
1 parent 4b93d66 commit ed8e0bb

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/pypi_publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
miniconda-version: "latest"
2727
activate-environment: pypi
2828

29-
- name: Set up Conda environment
29+
- name: Set up Conda environment and build package
3030
shell: bash -l {0}
3131
run: |
3232
conda config --set always_yes yes --set changeps1 no
@@ -36,12 +36,9 @@ jobs:
3636
build \
3737
twine
3838
conda list -n pypi
39+
python -m build .
3940
40-
- name: Build and publish
41+
- name: Publish
4142
permissions:
4243
id-token: write
43-
shell: bash -l {0}
44-
run: |
45-
conda env list
46-
python -m build .
4744
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)