Skip to content

Commit f0639e2

Browse files
authored
actions: release_publish with pixi task
1 parent 9fd5dc2 commit f0639e2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release_publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# publish to pypi on github release (tagged as vX.Y.Z)
12
name: release_publish
23
on:
34
# workflow_dispatch:
@@ -11,8 +12,15 @@ jobs:
1112
- name: Check out repo
1213
uses: actions/checkout@v2
1314

14-
- name: Build
15-
run: python setup.py sdist bdist_wheel
15+
- name: Pixi setup
16+
uses: prefix-dev/[email protected]
17+
with:
18+
pixi-version: v0.41.4
19+
cache: false
20+
run-install: false
21+
22+
- name: Build with pixi env
23+
run: pixi run pypi-build
1624

1725
- name: Publish to Pypi
1826
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)