style: High-Density Horizontal Header v2.1.1 - Unified Aesthetic ποΈππ¦Ύ #86
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ο»Ώname: CONTINUITY LEGACY Validation & Release | |
| on: | |
| push: | |
| branches: ["**"] | |
| tags: ["v*"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| validate-continuity: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Run Continuity Legacy Cycle | |
| run: | | |
| cd continuity | |
| python tools/continuity_legacy/run_continuity_cycle.py --repo-root . --strict | |
| pypi-release: | |
| name: Publish to PyPI | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| needs: validate-continuity | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Build Packages (Pro, Lite & Omega) | |
| run: | | |
| python -m pip install --upgrade build | |
| # Build Pro | |
| cd continuity | |
| python -m build | |
| cd .. | |
| # Build Lite | |
| cd continuity-lite | |
| python -m build | |
| cd .. | |
| # Build Omega | |
| cd continuity-omega | |
| python -m build | |
| cd .. | |
| - name: Publish Pro Version | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| packages-dir: "continuity/dist/" | |
| - name: Publish Lite Version | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| packages-dir: "continuity-lite/dist/" | |
| - name: Publish Omega Version | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| packages-dir: "continuity-omega/dist/" | |