forked from veraPDF/veraPDF-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (30 loc) · 977 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test
on:
workflow_dispatch:
jobs:
build:
name: Checkout and Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: JDK setup
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
cache: maven
- name: Test
run: |
cd corpus-wiki-generation
mkdir output
java -jar corpus-wiki-generator-1.0-SNAPSHOT.jar
- name: Commit to veraPDF-library
uses: drud/action-cross-commit@master
with:
source-folder: corpus-wiki-generation/output
destination-repository: https://MaximPlusov:${{ secrets.API_TOKEN_GITHUB }}@github.com/MaximPlusov/veraPDF-validation-profiles.wiki
destination-folder: .
destination-branch: master
git-user: "Git User"
git-commit-sign-off: "false"
excludes: .git:PDF_A:Undefined.md:README.md