Skip to content

chore: add .github/workflows/python-push.yml #1

chore: add .github/workflows/python-push.yml

chore: add .github/workflows/python-push.yml #1

Workflow file for this run

on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
packages: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- uses: google-github-actions/release-please-action@v4
with:

Check failure on line 29 in .github/workflows/python-push.yml

View workflow run for this annotation

GitHub Actions / release-please

Invalid workflow file

The workflow is not valid. .github/workflows/python-push.yml (Line: 29, Col: 14): Unexpected value '' .github/workflows/python-push.yml (Line: 30, Col: 9): Unexpected value 'release-type'
release-type: python
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
if: ${{ steps.release.outputs.release_created }}