Skip to content

feat(dv2): Data Vault 2.0 Hub/Link/Satellite modeling component #69

feat(dv2): Data Vault 2.0 Hub/Link/Satellite modeling component

feat(dv2): Data Vault 2.0 Hub/Link/Satellite modeling component #69

Workflow file for this run

name: publish
# Publishes dagster-community-components to PyPI when a tag like v0.1.0 is pushed.
#
# Uses PyPI Trusted Publishing (OIDC) — no API token in repo secrets needed.
# Configure once at https://pypi.org/manage/project/dagster-community-components/settings/publishing/
# with these values:
# Owner: eric-thomas-dagster
# Repository name: dagster-component-templates
# Workflow filename: publish.yml
# Environment name: (leave blank or set to "release")
on:
push:
tags:
- "v*"
workflow_dispatch: {} # allow manual run for verifying Trusted Publishing setup
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
# Required for PyPI Trusted Publishing (id-token).
id-token: write
# Required so the build step can read the repo.
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install build tools
run: pip install --upgrade build twine
# Note: tools/generate_init.py is dev-only (gitignored). The committed
# dagster_community_components/__init__.py is the source of truth for
# publishing — regenerate locally before bumping the version + tagging.
- name: Build sdist + wheel
run: python -m build
- name: Verify metadata
run: twine check dist/*
- name: Publish to PyPI (Trusted Publishing — no token required)
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true