# Ensures that the current lib version is not yet published but executing the Gradle
# `checkVersionIncrement` task.

name: Check version increment

on:
  push:
    branches: '**'

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1

      - uses: actions/setup-java@v1
        with:
          java-version: 1.8

      - name: Pull config
        run: git submodule update --init --recursive

      - name: Check version is not yet published
        shell: bash
        run: ./gradlew checkVersionIncrement

Add a new GitHub Actions build
Add a new GitHub Actions build
