PyPy Release #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyPy Release | |
on: | |
release: | |
types: [published, edited] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: tag name | |
run: echo $GITHUB_REF_NAME | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Config Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
python -m pip install --upgrade pip | |
poetry install | |
- name: Build | |
run: | | |
poetry build | |
- name: publish | |
run: | | |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} |