-
Notifications
You must be signed in to change notification settings - Fork 42
49 lines (48 loc) · 1.24 KB
/
build-and-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI
on:
push:
tags: '*'
branches-ignore:
- 'autodelivery**'
- 'bump-**'
- 'renovate/**'
paths-ignore:
- 'CHANGELOG.md'
- 'LICENSE'
- 'README.md'
- 'renovate.json'
pull_request:
workflow_dispatch:
jobs:
build:
if: contains(github.repository, 'sample-javafx-project') && !github.event.repository.fork
strategy:
fail-fast: false
matrix:
os:
- windows-2022
- macos-14
- ubuntu-24.04
jvm_version: [21, 23]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: DanySK/[email protected]
- uses: DanySK/[email protected]
with:
java-version: ${{ matrix.jvm_version }}
should-run-codecov: false
should-deploy: false
should-validate-wrapper: ${{ matrix.os == 'ubuntu' && matrix.jvm_version == '17' }}
success:
runs-on: ubuntu-24.04
needs:
- build
if: >-
always() && (
contains(join(needs.*.result, ','), 'failure')
|| !contains(join(needs.*.result, ','), 'cancelled')
)
steps:
- name: Verify that there were no failures
run: ${{ !contains(join(needs.*.result, ','), 'failure') }}