This commit is contained in:
Enrico Olivelli 2020-07-17 18:13:07 +02:00
parent 6ddfe4e0a0
commit d4882b0ace
1 changed files with 3 additions and 7 deletions
.github/workflows

View File

@ -14,27 +14,23 @@
# specific language governing permissions and limitations under the License.
#
name: Java CI
on:
pull_request:
branches: [ $default-branch ]
env:
MAVEN_OPTS: -Dmaven.artifact.threads=256 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Set up JDK 1.8'
uses: actions/setup-java@v1
with:
java-version: '1.8'
- name: 'Cache Maven packages'
uses: actions/cache@v2
with:
- name: 'Cache Maven packages'
uses: actions/cache@v2
with:
path: ~/.m2
key: 'cache'
restore-keys: 'cache'