Graduate EPAC to its immutable public release #11
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: EPAC release consumption | |
| on: | |
| pull_request: | |
| paths: ["integration/epac/**", "research/epac/**", "stack-manifest.json", "STACK_MANIFEST.md", ".github/workflows/epac.yml"] | |
| push: | |
| branches: [main] | |
| paths: ["integration/epac/**", "research/epac/**", "stack-manifest.json", "STACK_MANIFEST.md", ".github/workflows/epac.yml"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| released-artifact: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| - name: Install the pinned environment manager | |
| run: python -m pip install uv==0.11.18 | |
| - name: Check Stack projections | |
| run: python tools/check_stack_consistency.py | |
| - name: Reconsume immutable EPAC release | |
| env: | |
| PYTHONDONTWRITEBYTECODE: "1" | |
| run: python integration/epac/reconsume.py integration/epac/release-lock.json /tmp/epac-public-consumption python | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: epac-public-consumption | |
| path: | | |
| /tmp/epac-public-consumption/consumption.json | |
| /tmp/epac-public-consumption/release-lock.json | |
| if-no-files-found: error |