-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47c48a0
commit bc34008
Showing
7 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ on: | |
|
||
jobs: | ||
build: | ||
if: github.repository == 'veraPDF/veraPDF-rest' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
checkout-and-build: | ||
if: github.repository == 'veraPDF/veraPDF-rest' | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
@@ -31,12 +32,12 @@ jobs: | |
run: | | ||
git fetch origin arlington:arlington | ||
git checkout -b test-branch arlington | ||
- name: Configure user nameF | ||
- name: Configure user name | ||
run: | | ||
git config user.name "Git User" | ||
git config user.email "[email protected]" | ||
- name: Add commit to the test branch | ||
run: git cherry-pick -m 1 ${{ github.sha }} | ||
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} | ||
- name: Build project with Maven | ||
if: success() | ||
run: mvn --batch-mode --update-snapshots verify | ||
|
@@ -62,7 +63,7 @@ jobs: | |
git config user.name "Git User" | ||
git config user.email "[email protected]" | ||
- name: Add commit to new branch | ||
run: git cherry-pick -m 1 ${{ github.sha }} | ||
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} | ||
- name: Merge branch into arlington | ||
if: success() | ||
run: | | ||
|
@@ -78,6 +79,7 @@ jobs: | |
needs: [checkout-and-build, merge] | ||
if: | | ||
always() && | ||
github.repository == 'veraPDF/veraPDF-rest' && | ||
(contains(needs.*.result, 'failure') || | ||
contains(needs.*.result, 'skipped') || | ||
contains(needs.*.result, 'cancelled')) | ||
|