-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.02 KB
/
release.yml
File metadata and controls
41 lines (35 loc) · 1.02 KB
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
39
40
41
name: Python Micro Framework Data Release
on:
push:
branches:
- 'main'
jobs:
deploy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ 3.8 ]
poetry-version: [ 1.1.11 ]
os: [ ubuntu-latest ]
steps:
- uses: rymndhng/release-on-push-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
bump_version_scheme: norelease
tag_prefix: v
- name: Test environment Setup Python..
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Pull github repositories...
uses: actions/checkout@v1
- name: Test environment Setup Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Set deploy config Python Micro Framework Data
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
poetry build
poetry publish