Skip to content

use GITHUB_TOKEN to get x2tei transformations package #98

use GITHUB_TOKEN to get x2tei transformations package

use GITHUB_TOKEN to get x2tei transformations package #98

Workflow file for this run

name: Tests
on:
push:
paths-ignore:
- 'README.md'
pull_request:
branches:
- main
- dev
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: run maven with default build profile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn --batch-mode --update-snapshots verify
- name: run maven with build profile for oxygen 23
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -Doxygen.version=23 --batch-mode --update-snapshots clean verify
- name: run maven with build profile for oxygen 24
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -Doxygen.version=24 --batch-mode --update-snapshots clean verify
- name: run maven with build profile for oxygen 25
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -Doxygen.version=25 --batch-mode --update-snapshots clean verify
- name: run maven with build profile for oxygen 26
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -Doxygen.version=26 --batch-mode --update-snapshots clean verify
- name: run maven with build profile for oxygen 27
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -Doxygen.version=27 --batch-mode --update-snapshots clean verify