Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanatosGit committed Jan 1, 2024
1 parent d511c25 commit 4af1181
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,28 @@ jobs:
name: wheels-${{ runner.os }}
path: dist/*.whl
if-no-files-found: ignore


publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/randovania-lupa

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,9 @@ def write_file(filename, content):
# call distutils

setup(
name="randovania_lupa",
name="randovania-lupa",
version=VERSION,
author="Randovania dev team",
author="Randovania",
url="https://github.com/randovania/randovania-lupa",

description="Python wrapper around Lua for usage in Randovania projects",
Expand Down

0 comments on commit 4af1181

Please sign in to comment.