Skip to content

Commit db8a14d

Browse files
⬆️ CI/CD: Updated
1 parent 65503a7 commit db8a14d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: 📦 Package PyPI-Test
2+
3+
on:
4+
push:
5+
branches:
6+
- 'release/**'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: ⚙️ Set up Python 3.12
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: "3.12"
21+
- name: ⚙️ Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install build --no-cache-dir
25+
- name: 📦 Build Package
26+
run: python -m build
27+
- name: 📦 Publish Package to Test PyPI
28+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
29+
with:
30+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
31+
repository_url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)