forked from veraPDF/veraPDF-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 845 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
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
java -jar corpus-wiki-generator-1.0-SNAPSHOT.jar
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'output'
destination-github-username: 'MaximPlusov'
destination-repository-name: 'veraPDF-validation-profiles'
target-branch: main