Skip to content

rework

rework #5

name: Ximera Workflow

Check failure on line 1 in .github/workflows/serve-ximera-split.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/serve-ximera-split.yml

Invalid workflow file

(Line: 21, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.XIMERA_CONTAINER, (Line: 31, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.XIMERA_CONTAINER, (Line: 41, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.XIMERA_CONTAINER, (Line: 53, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.XIMERA_CONTAINER
on:
push:
branches:
- 'split'
env:
GPG_KEY: ${{ secrets.GPG_KEY }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
XIMERA_NAME: wimcalc20250904
XIMERA_URL: "https://xerxes.ximera.org/"
XM_TO_PROCESS: "testxourse.tex"
XIMERA_CONTAINER: "ghcr.io/ximeraproject/ximeralatex:v2.7.5fix2" # ← container image variable
jobs:
build-ximera-pdfexport:
name: Build pdfexport
runs-on: ubuntu-latest
container:
image: ${{ env.XIMERA_CONTAINER }} # ← use variable here
steps:
- uses: actions/checkout@v4
- run: ./xmScripts/xmlatex bake --compile pdfexport -j 5 $XM_TO_PROCESS
build-ximera-htmlexport:
name: Build htmlexport
needs: build-ximera-pdfexport
runs-on: ubuntu-latest
container:
image: ${{ env.XIMERA_CONTAINER }}
steps:
- uses: actions/checkout@v4
- run: ./xmScripts/xmlatex bake --compile htmlexport -j 5 $XM_TO_PROCESS
build-ximera-serve:
name: Serve
needs: build-ximera-htmlexport
runs-on: ubuntu-latest
container:
image: ${{ env.XIMERA_CONTAINER }}
steps:
- uses: actions/checkout@v4
- run: ./xmScripts/xmlatex name
- run: ./xmScripts/xmlatex frost $XM_TO_PROCESS
- run: ./xmScripts/xmlatex serve $XM_TO_PROCESS
publish-ximera:
name: Publish
needs: build-ximera-serve
runs-on: ubuntu-latest
container:
image: ${{ env.XIMERA_CONTAINER }}
steps:
- run: ./xmScripts/xmlatex serve -t $XM_TO_PROCESS