-
Notifications
You must be signed in to change notification settings - Fork 17
30 lines (30 loc) · 875 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
name: Python Test package
on:
push:
tags:
- "v*.*.*"
jobs:
build-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.TEST_PYPI_TOKEN }}
repository_name: "fastapi-keycloak-middleware"
repository_url: "https://test.pypi.org/legacy/"
python_version: "3.10.3"
poetry_version: "==1.3.1"
release:
runs-on: ubuntu-22.04
environment: production
steps:
- uses: actions/checkout@v2
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
repository_name: "fastapi-keycloak-middleware"
python_version: "3.10.3"
poetry_version: "==1.3.1"