simplify usage #489
Workflow file for this run
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
name: CI Check | |
on: [ push ] | |
concurrency: | |
group: ${{ github.ref }}-check | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Checkout Extension SDK | |
run: | | |
git clone https://github.com/hivemq/hivemq-extension-sdk.git ../hivemq-extension-sdk | |
cd ../hivemq-extension-sdk | |
git checkout ${GITHUB_REF##*/} || true | |
cd ../hivemq-community-edition | |
- name: Setup Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Check | |
run: ./gradlew test license forbiddenApis javadoc hivemqZip |