mirror of
https://github.com/planetmint/planetmint.git
synced 2025-10-14 00:59:17 +00:00
added tag-release workflow
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
bd1cdf44e4
commit
dc09ce4044
30
.github/workflows/tag-release.yml
vendored
Normal file
30
.github/workflows/tag-release.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
name: Deploy packages
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: 3.9
|
||||||
|
|
||||||
|
- name: Setup poetry
|
||||||
|
uses: Gr1N/setup-poetry@v7
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: poetry install --with dev
|
||||||
|
|
||||||
|
- name: Upload to TestPyPI
|
||||||
|
run: |
|
||||||
|
poetry build
|
||||||
|
poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user