Skip to content

Instantly share code, notes, and snippets.

@bard86
Last active March 24, 2020 13:07
Show Gist options
  • Save bard86/0fc228cd305cdd6ca1612afcea7cf312 to your computer and use it in GitHub Desktop.
Save bard86/0fc228cd305cdd6ca1612afcea7cf312 to your computer and use it in GitHub Desktop.
name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.11
uses: actions/setup-java@v1
with:
java-version: 1.11
- name: Build with Maven
working-directory: app
shell: bash
run: mvn -B package sonar:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment