BREAKING CHANGE:glue_sync skip archive by default #170
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: Automatic build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Package and run all tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Init Coveralls | |
shell: bash | |
run: | | |
COVERALLS_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} | |
if [[ -z "${COVERALLS_TOKEN}" ]] | |
then | |
echo "Coveralls token not available" | |
COVERALLS_SKIP=true | |
else | |
echo "Coveralls token available" | |
COVERALLS_SKIP=false | |
fi | |
echo "COVERALLS_SKIP=${COVERALLS_SKIP}" >> $GITHUB_ENV | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: 8 | |
java-package: jdk | |
# this creates a settings.xml with the following server | |
settings-path: ${{ github.workspace }} | |
- name: Run Maven Targets | |
run: mvn package jacoco:report coveralls:report --batch-mode --show-version --no-transfer-progress --activate-profiles coveralls -Dcoveralls.skip=$COVERALLS_SKIP -DrepoToken=${{ secrets.COVERALLS_REPO_TOKEN }} |