Skip to content

ci(deps): update danysk/build-check-deploy-gradle-action action to v3… #1080

ci(deps): update danysk/build-check-deploy-gradle-action action to v3…

ci(deps): update danysk/build-check-deploy-gradle-action action to v3… #1080

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-gradle-project') && !github.event.repository.fork
strategy:
matrix:
os: [ windows-2022, macos-14, ubuntu-24.04 ]
jvm_version:
- 17
- 21
- 22
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-build-${{ matrix.os }}-${{ matrix.jvm_version }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
steps:
- name: Checkout
uses: DanySK/[email protected]
- uses: DanySK/[email protected]
with:
custom-secret-0: ${{ secrets.OMDB_API_KEY }}
java-version: ${{ matrix.jvm_version }}
check-command: true
deploy-command: |
export OMDB_API_KEY="$CUSTOM_SECRET_0"
./gradlew check
should-run-codecov: false
should-deploy: true
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') }}