From cd8e0ff90abf7d01761b0576c4168254b9b1f7c1 Mon Sep 17 00:00:00 2001 From: krateng Date: Fri, 31 Dec 2021 05:24:04 +0100 Subject: [PATCH] More fixing --- .github/workflows/aux.library.pypi.yml | 74 +++++++++++++------------- .github/workflows/pypi.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 40 insertions(+), 38 deletions(-) diff --git a/.github/workflows/aux.library.pypi.yml b/.github/workflows/aux.library.pypi.yml index 123b843..7874f90 100644 --- a/.github/workflows/aux.library.pypi.yml +++ b/.github/workflows/aux.library.pypi.yml @@ -1,36 +1,38 @@ -name: Publish library to PyPI - -on: - push: - paths: - - 'auxiliary/malojalib/pyproject.toml' - # When the version updates, this file changes - # False positives only result in a failed push - -jobs: - publish_to_pypi: - name: Push Library to PyPI - runs-on: ubuntu-latest - steps: - - name: Check out the repo - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - - name: Install dependencies - run: pip install build - - - name: Change directory - run: cd auxiliary/malojalib - - - name: Build package - run: python -m build - - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} +# This always runs atm +# no idea wtf is going on +#name: Publish library to PyPI +# +#on: +# push: +# paths: +# - 'auxiliary/malojalib/pyproject.toml' +# # When the version updates, this file changes +# # False positives only result in a failed push +# +#jobs: +# publish_to_pypi: +# name: Push Library to PyPI +# runs-on: ubuntu-latest +# steps: +# - name: Check out the repo +# uses: actions/checkout@v2 +# +# - name: Set up Python +# uses: actions/setup-python@v2 +# with: +# python-version: '3.x' +# +# - name: Install dependencies +# run: pip install build +# +# - name: Change directory +# run: cd auxiliary/malojalib +# +# - name: Build package +# run: python -m build +# +# - name: Publish to PyPI +# uses: pypa/gh-action-pypi-publish@release/v1 +# with: +# user: __token__ +# password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 1abee26..3a079df 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -19,7 +19,7 @@ jobs: python-version: '3.x' - name: Install dependencies - run: pip install build setuptools + run: pip install build setuptools toml - name: Build package #run: python -m build diff --git a/pyproject.toml b/pyproject.toml index 73bc1d1..7e4b0d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "maloja" pypi_name = "malojaserver" -version = "2.14.1" +version = "2.14.2" description = "Self-hosted music scrobble database" readme = "./README.md" requires-python = ">=3.6"