diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 062394e..af06120 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,13 @@ on: branches: - master - workflow_dispatch: {} + workflow_dispatch: + inputs: + skip-test: + description: 'Skip test' + required: false + type: string + default: "false" jobs: check: @@ -24,6 +30,7 @@ jobs: # Services - 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 sleep 30 @@ -53,6 +60,7 @@ jobs: # Gradle check - name: Build with Gradle + if: ${{ github.event.inputs.skip-test == 'false' || github.event.inputs.skip-test == '' }} run: ./gradlew check # Publish