Skip to content

reduce version

reduce version #5

Workflow file for this run

# Github actions to build
# and push wheel files
name: Publish Quarto PyPi
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build
run: python -m build
- name: Clean Wheel
run: rm -rf dist/quarto_cli*.whl
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/