Skip to content

Hotfix: Docker Exit Code 139 when rotating the map #65

Hotfix: Docker Exit Code 139 when rotating the map

Hotfix: Docker Exit Code 139 when rotating the map #65

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 }}