70f2c56888
This tries to solve build timeouts while downloading dependencies. Also the job timeout for PRs is 30 minutes - if it takes longer, something is wrong.
33 lines
791 B
YAML
33 lines
791 B
YAML
name: troubleshooting
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
continue-on-error: false
|
|
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
|