Skip to content

version bump

version bump #6

Workflow file for this run

name: Publish release
on:
push:
tags:
- 'v*'
jobs:
ci-tests:
uses: ./.github/workflows/ci-tests.yml

Check failure on line 10 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/ci-tests.yml" (source tag with sha:621290f21cdf118d3d3e2b87cfd8f99ceaf4c3ba) : workflow is not reusable as it is missing a `on.workflow_call` trigger
release-github:
name: Create Github release
needs: ci-tests
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v2
with:
name: packages
path: dist
- uses: ncipollo/release-action@v1
with:
artifacts: "dist/*"
omitBody: true
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
draft: false
release-pypi:
name: Create PyPI release
needs: ci-tests
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
with:
name: packages
path: dist
- uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}