Skip to content

Fix precheck Docker image pull on Apple Silicon #69

Fix precheck Docker image pull on Apple Silicon

Fix precheck Docker image pull on Apple Silicon #69

Workflow file for this run

name: Publish Python Package to PyPI
on:
push:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install --no-interaction --no-root
- name: Build package
run: |
poetry build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}