Revert integration source name #465
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
- 'gh-pages' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
# Skip duplicate build on pull_request if pull request uses branch from the same repository | |
if: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name | |
steps: | |
- name: Skip build | |
id: skipper | |
uses: fkirc/skip-duplicate-actions@v5 | |
with: | |
paths_ignore: '["*.md", ".github/**.md", ".gitignore", "docs/**", "gradle.properties"]' | |
skip_summary: true | |
- name: Checkout | |
uses: actions/checkout@v4 | |
if: steps.skipper.outputs.should_skip != 'true' | |
with: | |
# Required to deduce version from git tags | |
fetch-depth: 0 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
if: steps.skipper.outputs.should_skip != 'true' | |
with: | |
java-version: 21 | |
distribution: temurin | |
- name: Validate gradle wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
if: steps.skipper.outputs.should_skip != 'true' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
if: steps.skipper.outputs.should_skip != 'true' | |
with: | |
# Publish dependency graph only for the default branch | |
dependency-graph: | | |
${{ (github.event.repository != null && github.ref_name == github.event.repository.default_branch) | |
&& 'generate-and-submit' || 'disabled' }} | |
- name: Build | |
if: steps.skipper.outputs.should_skip != 'true' | |
run: ./gradlew build | |
- name: Publish Coverage Report | |
uses: codecov/codecov-action@v4 | |
# Publish coverage only for the default branch | |
if: | | |
steps.skipper.outputs.should_skip != 'true' | |
&& github.event.repository != null | |
&& github.ref_name == github.event.repository.default_branch | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
override_commit: ${{ github.event.workflow_run.head_sha }} | |
override_branch: ${{ github.event.workflow_run.head_branch }} | |
override_build: ${{ github.event.workflow_run.id }} | |
disable_search: true | |
files: build/reports/kover/report.xml |