Skip to content

Commit

Permalink
test github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vaphes committed Feb 14, 2024
1 parent 27ba9cb commit f5cc927
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,22 @@ permissions:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "pkl"
name = "python-pkl"
description = "Apple's PKL for python."
requires-python = ">=3.7"
license = "MIT"
Expand All @@ -26,19 +26,21 @@ dynamic = ["readme", "version"]
"Bug Tracker" = "https://github.com/vaphes/pkl/issues"

[tool.poetry]
name = "pkl"
version = "0.1.0"
name = "python-pkl"
version = "0.1.2"
description = "Python library to work with Apple's PKL files"
authors = ["Vithor Jaeger <[email protected]>"]
readme = "README.md"
packages = [{ include = "pkl" }]

[tool.poetry.urls]
"Homepage" = "https://github.com/vaphes/pkl"
"Source" = "https://github.com/vaphes/pkl"
"Bug Tracker" = "https://github.com/vaphes/pkl/issues"

[tool.poetry.dependencies]
python = "^3.12"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit f5cc927

Please sign in to comment.