diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a3965b..1f99a99 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,8 +11,13 @@ on: branches: - master - workflow_dispatch: {} - + workflow_dispatch: + inputs: + skip-test: + description: 'Skip test' + required: false + type: string + default: "false" jobs: check: name: Check & Publish @@ -44,11 +49,13 @@ jobs: uses: gradle/wrapper-validation-action@v3 - name: Build the docker-compose stack + if: ${{ github.event.inputs.skip-test == 'false' || github.event.inputs.skip-test == '' }} run: | docker-compose -f docker-compose-ci.yml up -d # Gradle check - name: Build with Gradle + if: ${{ github.event.inputs.skip-test == 'false' || github.event.inputs.skip-test == '' }} run: ./gradlew check # Publish