Change to forgejo.

This commit is contained in:
jupfi 2025-05-01 16:22:08 +02:00
parent fd20542c57
commit 77be096c1b
2 changed files with 11 additions and 14 deletions

View file

@ -15,28 +15,25 @@ jobs:
# uses: ./.github/workflows/ubuntu-python-package.yml # use the callable tests job to run tests # uses: ./.github/workflows/ubuntu-python-package.yml # use the callable tests job to run tests
deploy: deploy:
runs-on: docker
runs-on: ubuntu-latest container:
image: node:22-bookworm
# needs: [test] # needs: [test]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update apt update
python -m pip install --upgrade pip apt install -y python3 python3-venv python3-pip
- name: Publish to PyPI - name: Publish to PyPI
run: | run: |
python -m venv venv python3 -m venv venv
. ./venv/bin/activate . ./venv/bin/activate
python3 -m pip install --upgrade pip
pip install -U twine build pip install -U twine build
python -m build . python -m build .
python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/* python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/*

View file

@ -46,8 +46,8 @@ convention = "google"
[project.urls] [project.urls]
"Homepage" = "https://nqrduck.cool" "Homepage" = "https://nqrduck.cool"
"Bug Tracker" = "https://github.com/nqrduck/nqr-blochsimulator/issues" "Bug Tracker" = "https://git.private.coffee/nqrduck/nqr-blochsimulator/issues"
"Source Code" = "https://github.com/nqrduck/nqrduck-blochsimulator" "Source Code" = "https://git.private.coffee/nqrduck/nqrduck-blochsimulator"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["src/nqr_blochsimulator"] packages = ["src/nqr_blochsimulator"]