Skip to content

Merge pull request #37 from The-Interdependency/graduate/epac-release… #14

Merge pull request #37 from The-Interdependency/graduate/epac-release…

Merge pull request #37 from The-Interdependency/graduate/epac-release… #14

Workflow file for this run

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