-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from k4rimDev/dev
feat: added github action
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Publish to PyPI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Poetry | ||
run: curl -sSL https://install.python-poetry.org | python3 - | ||
|
||
- name: Install dependencies | ||
run: poetry install --no-dev | ||
|
||
- name: Build the package | ||
run: poetry build | ||
|
||
- name: Publish to PyPI | ||
env: | ||
POETRY_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
run: poetry publish --build --username __token__ --password $POETRY_PASSWORD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,10 @@ description = "A lightweight background task library in Python." | |
authors = ["karim06-byte <[email protected]>", "k4rimdev <[email protected]>"] | ||
license = "Apache" | ||
readme = "README.md" | ||
homepage = "https://github.com/k4rimDev/QueueTeePie" | ||
repository = "https://github.com/k4rimDev/QueueTeePie" | ||
keywords = ["task", "queue", "background", "tasks", "async"] | ||
|
||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
|