Skip to content

New OSM tags in FS25 schema, SL max upload size update, automatic check for the updates #66

New OSM tags in FS25 schema, SL max upload size update, automatic check for the updates

New OSM tags in FS25 schema, SL max upload size update, automatic check for the updates #66

Workflow file for this run

name: Publish Python Package to PyPI
on:
release:
types: [published]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build twine
- name: Update version in pyproject.toml
run: |
sed -i "s/^version = \".*\"/version = \"${{ github.ref_name }}\"/" pyproject.toml
- name: Build package
run: |
python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}