-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (33 loc) · 1010 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Python package
on:
push:
tags:
- "core-v*.*.*"
- "v*.*.*"
jobs:
publish-core:
if: startsWith(github.ref, 'refs/tags/core-v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish core python poetry package
uses: JRubics/[email protected]
with:
python_version: "3.11"
pypi_token: ${{ secrets.PYPI_TOKEN }}
# Install project without developer requirements.
ignore_dev_requirements: "yes"
package_directory: "bpm-ai-core"
publish:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish python poetry package
uses: JRubics/[email protected]
with:
python_version: "3.11"
pypi_token: ${{ secrets.PYPI_TOKEN }}
# Install project without developer requirements.
ignore_dev_requirements: "yes"
package_directory: "bpm-ai"