Skip to content

On Release

On Release #11

Workflow file for this run

---
name: On Release
on:
release:
types:
- released
jobs:
Check:
name: Check and Lint
uses: ./.github/workflows/mypy.yml
Test:
name: Test
needs:
- Check
if: needs.Check.result == 'success'
uses: ./.github/workflows/tests.yml
secrets:
GOOGLE_CLIENT_KEY: ${{ secrets.GOOGLE_CLIENT_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Release_Check:
name: Check Release
needs:
- Test
if: needs.Test.result == 'success'
uses: ./.github/workflows/release_check.yml
secrets:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
Release:
name: Release
needs:
- Release_Check
if: needs.Release_Check.result == 'success'
uses: ./.github/workflows/release_steps.yml

Check failure on line 38 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "./.github/workflows/release_steps.yml" (source tag with sha:867a6967e34dbd07b81eaec99b589f30d85d43b0) : a step cannot have both the `uses` and `run` keys
secrets:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Docs:
name: Deploy Docs
needs:
- Release
if: needs.Release.result == 'success'
uses: ./.github/workflows/gh-pages.yml