Skip to content

chore(deps): bump actions/setup-python from 4 to 5 (#355) #502

chore(deps): bump actions/setup-python from 4 to 5 (#355)

chore(deps): bump actions/setup-python from 4 to 5 (#355) #502

Workflow file for this run

name: CI Build
on:
push:
branches: ['master', 'main']
pull_request:
workflow_dispatch:
env:
PYTHON_VERSION_DEFAULT: "3.10"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v4
- name: Set up JDK
# see https://github.com/actions/setup-java
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
java-package: jdk
- name: Build with Maven
run: mvn -B package --file pom.xml
working-directory: tools
- name: Setup Python Environment
# see https://github.com/actions/setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION_DEFAULT }}
architecture: 'x64'
- name: Generate JSON Schema documentation
run: ./gen.sh
working-directory: docgen/json
- name: Generate XML Schema documentation
run: ./gen.sh
working-directory: docgen/xml
- name: Archive JSON Schema documentation
# https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v3
with:
name: JSON-Schema-documentation
path: docgen/json/docs
- name: Archive XML Schema documentation
# https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v3
with:
name: XML-Schema-documentation
path: docgen/xml/docs