forked from marc4j/marc4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak syntax
- Loading branch information
Showing
1 changed file
with
6 additions
and
30 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 |
---|---|---|
|
@@ -16,33 +16,9 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Java JDK | ||
uses: actions/[email protected] | ||
with: | ||
# The Java version to set up. Takes a whole or semver Java version. See examples of supported syntax in README file | ||
java-version: 8.0 | ||
# Java distribution. See the list of supported distributions in README file | ||
distribution: | ||
# The package type (jdk, jre, jdk+fx, jre+fx) | ||
java-package: jdk | ||
# The architecture of the package | ||
architecture: # optional, default is x64 | ||
# Path to where the compressed JDK is located | ||
jdkFile: # optional | ||
# Set this option if you want the action to check for the latest available version that satisfies the version spec | ||
check-latest: # optional | ||
# ID of the distributionManagement repository in the pom.xml file. Default is `github` | ||
server-id: # optional, default is github | ||
# Environment variable name for the username for authentication to the Apache Maven repository. Default is $GITHUB_ACTOR | ||
server-username: # optional, default is GITHUB_ACTOR | ||
# Environment variable name for password or token for authentication to the Apache Maven repository. Default is $GITHUB_TOKEN | ||
server-password: # optional, default is GITHUB_TOKEN | ||
# Path to where the settings.xml file will be written. Default is ~/.m2. | ||
settings-path: # optional | ||
# Overwrite the settings.xml file if it exists. Default is "true". | ||
overwrite-settings: # optional, default is true | ||
# GPG private key to import. Default is empty string. | ||
gpg-private-key: # optional | ||
# Environment variable name for the GPG private key passphrase. Default is $GPG_PASSPHRASE. | ||
gpg-passphrase: # optional - name: Build with Ant | ||
run: ant -noinput -buildfile build.xml | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' # See 'Supported distributions' for available options | ||
java-version: '8' | ||
java-package: jdk | ||
- run: ant -noinput -buildfile build.xml |