-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from bmarwell/2.3-dist-rat-github-action
[BUILD] sign and rat-check on CI build
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 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 |
---|---|---|
|
@@ -55,10 +55,21 @@ jobs: | |
echo "mvnCommand=$(which mvn)" >> build.properties; | ||
echo "gpgCommand=$(which gpg)" >> build.properties; | ||
- name: Create a gpg key for signing | ||
shell: bash | ||
run: >- | ||
gpg --quick-gen-key --batch --passphrase '' [email protected]; | ||
echo "batch" >> "/home/runner/.gnupg/gpg.conf"; | ||
echo "pinentry-mode=loopback" >> "/home/runner/.gnupg/gpg.conf"; | ||
- name: Prepare ant with ivy | ||
shell: bash | ||
run: ant download-ivy | ||
|
||
- name: Build with Ant and ivy | ||
shell: bash | ||
run: ant ci | ||
run: ant ci -Dci=true | ||
|
||
- name: RAT check | ||
shell: bash | ||
run: ant rat |
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