Skip to content

Commit

Permalink
publish workflow (#3)
Browse files Browse the repository at this point in the history
publish workflow
  • Loading branch information
0x00b1 authored Apr 2, 2024
1 parent a7ca349 commit 09360e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
path: "dist/"
test:
environment:
name: "pypi.org"
url: "https://pypi.org/project/beignet"
name: "test.pypi.org"
url: "https://test.pypi.org/project/beignet"
needs:
- "build"
permissions:
Expand All @@ -29,6 +29,7 @@ jobs:
- uses: "pypa/gh-action-pypi-publish@release/v1"
with:
repository-url: "https://test.pypi.org/legacy/"
skip-existing: true
publish:
environment:
name: "pypi.org"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# beignet
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ authors = [{ email = "[email protected]", name = "Allen Goodman" }]
dynamic = ["version"]
license = { file = "LICENSE" }
name = "beignet"
readme = "README.md"
requires-python = ">=3.10"

[tool.setuptools_scm]
local_scheme = "no-local-version"

0 comments on commit 09360e3

Please sign in to comment.