Skip to content

fix: consistent output for same input file (#39) #16

fix: consistent output for same input file (#39)

fix: consistent output for same input file (#39) #16

Workflow file for this run

name: Release
on:
workflow_dispatch: {}
push:
tags:
- "*"
concurrency:
group: release-${{ github.workflow }}
cancel-in-progress: true
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: "Setup: Python 3.11"
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
- name: Build
run: |
poetry install --no-root
poetry build
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist
password: "${{ secrets.PYPI_API_TOKEN }}"
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*.whl"
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
prerelease: false