forked from vocodedev/vocode-core
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (29 loc) · 804 Bytes
/
release.yml
File metadata and controls
38 lines (29 loc) · 804 Bytes
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
36
37
38
name: release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install poetry 1.4.2
run: |
python -m ensurepip
python -m pip install --upgrade pip
python -m pip install poetry==1.4.2
- name: Install dependencies
shell: bash
run: python -m poetry install -E all
- name: Set poetry PyPI token
run: python -m poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}"
- name: Publish to PyPI
run: |
python -m poetry publish --build --no-interaction