Skip to content

v0.3.2

v0.3.2 #25

Workflow file for this run

name: CD - Publish
on:
release:
types:
- published
jobs:
publish-package-and-docs:
name: External
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.8.0
if: github.repository == 'EMMC-ASBL/tripper' && startsWith(github.ref, 'refs/tags/v')
with:
# General
git_username: "TEAM 4.0[bot]"
git_email: "Team4.0@SINTEF.no"
release_branch: master
install_extras: "[dev]"
# Build package
python_package: true
package_dirs: tripper
python_version_build: "3.9"
build_libs: "flit"
build_cmd: "flit build"
publish_on_pypi: false
upload_distribution: true
# Build & publish documentation
update_docs: true
python_version_docs: "3.9"
doc_extras: "[docs]"
changelog_exclude_labels: "skip_changelog,duplicate,question,invalid,wontfix"
docs_framework: mkdocs
secrets:
#PyPI_token: ${{ secrets.PYPI_TOKEN }}
PAT: ${{ secrets.RELEASE_PAT }}
publish:
name: Publish on PyPI
needs: build

Check failure on line 41 in .github/workflows/cd_release.yml

View workflow run for this annotation

GitHub Actions / CD - Publish

Invalid workflow file

The workflow is not valid. .github/workflows/cd_release.yml (Line: 41, Col: 12): Job 'publish' depends on unknown job 'build'.
runs-on: ubuntu-latest
#environment: release
permissions:
id-token: write
steps:
- name: Download built distritbution
uses: actions/download-artifact@v4
with:
path: dist
- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@release/v1