Skip to content

Commit

Permalink
yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
t2b committed Jun 8, 2021
1 parent 1243a51 commit a03e059
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Build and upload Python Package

on:
"on":
release:
types: [created]

Expand All @@ -11,22 +11,22 @@ jobs:
environment: deploy # only the deploy environment has `secrets.PYPI_TOKEN`

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade "build>=0.3.1" "twine>=3.4.1"
- name: Build package
run: |
python -m build --sdist --wheel .
- name: Check long description
run: python -m twine check dist/*
- name: Publish package on PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
twine upload dist/*
- name: Install dependencies
run: |
python -m pip install --upgrade "build>=0.3.1" "twine>=3.4.1"
- name: Build package
run: |
python -m build --sdist --wheel .
- name: Check long description
run: python -m twine check dist/*
- name: Publish package on PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
twine upload dist/*

0 comments on commit a03e059

Please sign in to comment.