Allow workflows to be triggered manually without sending notification and force java 11

This commit is contained in:
Michael Kaye 2022-02-28 14:37:14 +00:00
parent fbd5456360
commit b3e6ff68af
1 changed files with 10 additions and 1 deletions

View File

@ -22,6 +22,10 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- uses: actions/cache@v2
with:
path: |
@ -39,6 +43,10 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- uses: actions/cache@v2
with:
path: |
@ -243,12 +251,13 @@ jobs:
emulator.log
failure_screenshots/
# Notify the channel about scheduled runs, do not notify for manually triggered runs
notify:
runs-on: ubuntu-latest
needs:
- integration-tests
- ui-tests
if: always()
if: always() && github.event_name != 'workflow_dispatch'
steps:
- uses: michaelkaye/matrix-hookshot-action@v0.2.0
with: