More fixing

This commit is contained in:
krateng 2021-12-31 05:24:04 +01:00
parent fb2dff8add
commit cd8e0ff90a
3 changed files with 40 additions and 38 deletions

View File

@ -1,36 +1,38 @@
name: Publish library to PyPI # This always runs atm
# no idea wtf is going on
on: #name: Publish library to PyPI
push: #
paths: #on:
- 'auxiliary/malojalib/pyproject.toml' # push:
# When the version updates, this file changes # paths:
# False positives only result in a failed push # - 'auxiliary/malojalib/pyproject.toml'
# # When the version updates, this file changes
jobs: # # False positives only result in a failed push
publish_to_pypi: #
name: Push Library to PyPI #jobs:
runs-on: ubuntu-latest # publish_to_pypi:
steps: # name: Push Library to PyPI
- name: Check out the repo # runs-on: ubuntu-latest
uses: actions/checkout@v2 # steps:
# - name: Check out the repo
- name: Set up Python # uses: actions/checkout@v2
uses: actions/setup-python@v2 #
with: # - name: Set up Python
python-version: '3.x' # uses: actions/setup-python@v2
# with:
- name: Install dependencies # python-version: '3.x'
run: pip install build #
# - name: Install dependencies
- name: Change directory # run: pip install build
run: cd auxiliary/malojalib #
# - name: Change directory
- name: Build package # run: cd auxiliary/malojalib
run: python -m build #
# - name: Build package
- name: Publish to PyPI # run: python -m build
uses: pypa/gh-action-pypi-publish@release/v1 #
with: # - name: Publish to PyPI
user: __token__ # uses: pypa/gh-action-pypi-publish@release/v1
password: ${{ secrets.PYPI_API_TOKEN }} # with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}

View File

@ -19,7 +19,7 @@ jobs:
python-version: '3.x' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: pip install build setuptools run: pip install build setuptools toml
- name: Build package - name: Build package
#run: python -m build #run: python -m build

View File

@ -1,7 +1,7 @@
[project] [project]
name = "maloja" name = "maloja"
pypi_name = "malojaserver" pypi_name = "malojaserver"
version = "2.14.1" version = "2.14.2"
description = "Self-hosted music scrobble database" description = "Self-hosted music scrobble database"
readme = "./README.md" readme = "./README.md"
requires-python = ">=3.6" requires-python = ">=3.6"