forked from phoedos/pmd
Add troubleshooting
This commit is contained in:
parent
15fc3f8fc4
commit
1790684fff
3
.github/workflows/pull-requests.yml
vendored
3
.github/workflows/pull-requests.yml
vendored
@ -1,6 +1,7 @@
|
|||||||
name: Pull Requests
|
name: Pull Requests
|
||||||
|
|
||||||
on: pull_request
|
#on: pull_request
|
||||||
|
on: workflow_dispatch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
33
.github/workflows/troubleshooting.yml
vendored
Normal file
33
.github/workflows/troubleshooting.yml
vendored
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user