Revert "update release workflow to be based on releases"
Some checks failed
Python Linters / formatting (push) Waiting to run
Python Linters / mypy (push) Waiting to run
REUSE Compliance / reuse (push) Waiting to run
Selftests / test-build-install (push) Waiting to run
Selftests / test-sync (push) Waiting to run
Python Linters / pylint (push) Has been cancelled
Some checks failed
Python Linters / formatting (push) Waiting to run
Python Linters / mypy (push) Waiting to run
REUSE Compliance / reuse (push) Waiting to run
Selftests / test-build-install (push) Waiting to run
Selftests / test-sync (push) Waiting to run
Python Linters / pylint (push) Has been cancelled
This reverts commit be86ebad40.
This isn't possible with act
This commit is contained in:
18
.gitea/workflows/publish.yaml
Normal file
18
.gitea/workflows/publish.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
# SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
name: Python package
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build and publish to PyPI
|
||||
uses: https://github.com/JRubics/poetry-publish@v2.0
|
||||
with:
|
||||
pypi_token: ${{ secrets.PYPI_TOKEN }}
|
||||
Reference in New Issue
Block a user