Skip to content

Commit 0b665d1

Browse files
Merge pull request #83 from InfoMusCP/dev
rollback to previous release workflow
2 parents 5d45e4d + 845be1f commit 0b665d1

File tree

3 files changed

+33
-40
lines changed

3 files changed

+33
-40
lines changed

.github/workflows/pypi_deploy.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish Python 🐍 distribution to PyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*" # run only when you push a version tag (e.g., v1.0.0)
7+
8+
jobs:
9+
build-n-publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.x"
20+
21+
- name: Install build dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install build twine
25+
26+
- name: Build package
27+
run: python -m build
28+
29+
- name: Publish to PyPI
30+
uses: pypa/gh-action-pypi-publish@release/v1
31+
with:
32+
password: ${{ secrets.PYPI_API_KEY }}

.github/workflows/release.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,4 @@ where = ["."]
8787
[tool.pytest.ini_options]
8888
pythonpath = [
8989
"."
90-
]
91-
92-
[tool.semantic_release]
93-
version_toml = [
94-
"pyproject.toml:project.version",
95-
]
96-
branch = "main"
97-
build_command = "pip install build && python -m build"
98-
commit_parser = "angular"
90+
]

0 commit comments

Comments
 (0)