From 9c9b22e7f8d591cf3dde250c02f011584d4cbdd4 Mon Sep 17 00:00:00 2001 From: jupfi Date: Thu, 1 May 2025 16:44:08 +0200 Subject: [PATCH] Change to forgejo. --- {.github => .forgejo}/workflows/main.yml | 21 +++++++++------------ pyproject.toml | 4 ++-- 2 files changed, 11 insertions(+), 14 deletions(-) rename {.github => .forgejo}/workflows/main.yml (66%) diff --git a/.github/workflows/main.yml b/.forgejo/workflows/main.yml similarity index 66% rename from .github/workflows/main.yml rename to .forgejo/workflows/main.yml index 94e556b..03a0f8c 100644 --- a/.github/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -15,30 +15,27 @@ jobs: # uses: ./.github/workflows/ubuntu-python-package.yml # use the callable tests job to run tests deploy: - - runs-on: ubuntu-latest + runs-on: docker + container: + image: node:22-bookworm # needs: [test] steps: - - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: "3.11" + - uses: actions/checkout@v4 - name: Install dependencies run: | - sudo apt-get update - python -m pip install --upgrade pip + apt update + apt install -y python3 python3-venv python3-pip - name: Publish to PyPI run: | - python -m venv venv + python3 -m venv venv . ./venv/bin/activate + python3 -m pip install --upgrade pip pip install -U twine build python -m build . python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/* env: - PYPI: ${{ secrets.PYPI }} + PYPI: ${{ secrets.PYPI }} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 4e6c969..30a3bb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,8 +51,8 @@ convention = "google" [project.urls] "Homepage" = "https://nqrduck.cool" -"Bug Tracker" = "https://github.com/nqrduck/quackseq/issues" -"Source Code" = "https://github.com/nqrduck/quackseq" +"Bug Tracker" = "https://git.private.coffee/nqrduck/quackseq/issues" +"Source Code" = "https://git.private.coffee/nqrduck/quackseq" [tool.hatch.build.targets.wheel] packages = ["src/quackseq_simulator"] \ No newline at end of file