Skip to content

refactoring: simplify the passing of tla modules, matching the interf… #15

refactoring: simplify the passing of tla modules, matching the interf…

refactoring: simplify the passing of tla modules, matching the interf… #15

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build web JAR
run: ./gradlew buildWebJar
- name: Prepare site
run: |
mkdir -p _site
cp web/index.html _site/
cp build/libs/tlaplus-formatter-web.jar _site/
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4