diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 2aeec4475e..764eebb453 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -1,6 +1,7 @@ name: Pull Requests -on: pull_request +#on: pull_request +on: workflow_dispatch jobs: build: diff --git a/.github/workflows/troubleshooting.yml b/.github/workflows/troubleshooting.yml new file mode 100644 index 0000000000..7a4af43a7c --- /dev/null +++ b/.github/workflows/troubleshooting.yml @@ -0,0 +1,33 @@ +name: troubleshooting + +on: pull_request + +jobs: + build: + runs-on: ${{ matrix.os }} + continue-on-error: false + if: "!contains(github.event.head_commit.message, '[skip ci]')" + strategy: + matrix: + #os: [ ubuntu-latest, windows-latest, macos-latest ] + os: [ ubuntu-latest ] + + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: | + ~/.m2/repository + ~/.cache + key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}- + - name: Set up Ruby 2.7 + uses: actions/setup-ruby@v1 + with: + ruby-version: 2.7 + - name: Install OpenJDK 11 + run: .ci/install-openjdk.sh 11 + shell: bash + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3