Core: try a gitea action
All checks were successful
Gitea Actions Demo / Hello-Gitea-Actions (push) Successful in 27s
All checks were successful
Gitea Actions Demo / Hello-Gitea-Actions (push) Successful in 27s
This commit is contained in:
parent
d5b88490cc
commit
1d094818b9
31
.gitea/workflows/pipy_publish.yaml
Normal file
31
.gitea/workflows/pipy_publish.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: Publish to pipy
|
||||||
|
run-name: ${{ gitea.repository }} publish 🚀 to pipy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-n-publish:
|
||||||
|
name: Build and publish Python 🐍 distributions 📦 to PyPI
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Set up Python 3.10
|
||||||
|
uses: https://github.com/actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
- name: Run image
|
||||||
|
uses: https://github.com/abatilo/actions-poetry@v2
|
||||||
|
with:
|
||||||
|
poetry-version: 1.5
|
||||||
|
- name: Extract tag name
|
||||||
|
id: tag
|
||||||
|
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
|
||||||
|
- name: Update version in setup.py
|
||||||
|
run: >-
|
||||||
|
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" pyproject.toml
|
||||||
|
- name: View poetry --help
|
||||||
|
run: poetry --help
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pdf-oralia"
|
name = "pdf-oralia"
|
||||||
version = "0.2.6"
|
version = "{{VERSION_PLACEHOLDER}}"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Bertrand Benjamin <benjamin.bertrand@opytex.org>"]
|
authors = ["Bertrand Benjamin <benjamin.bertrand@opytex.org>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
Loading…
Reference in New Issue
Block a user