Skip to content

Commit 167df56

Browse files
committed
SP-663 Package before release
1 parent 6f0bdb9 commit 167df56

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,28 @@ on:
66
name: release
77

88
jobs:
9+
package:
10+
name: Package release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v3
15+
with:
16+
python-version: 3.8
17+
- run: |
18+
python setup.py sdist
19+
- uses: actions/upload-artifact@v3
20+
with:
21+
path: ./dist
22+
923
pypi-publish:
24+
needs: ['package']
1025
name: Upload release to PyPI
1126
runs-on: ubuntu-latest
1227
environment: release
1328
permissions:
1429
id-token: write
1530
steps:
31+
- uses: actions/download-artifact@v3
1632
- name: Publish package distributions to PyPI
1733
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)