Skip to content

[Oztechan/Global#12] Update gradle/gradle-build-action action to v2.11.0 #291

[Oztechan/Global#12] Update gradle/gradle-build-action action to v2.11.0

[Oztechan/Global#12] Update gradle/gradle-build-action action to v2.11.0 #291

Workflow file for this run

name: ScopeMob CI
on:
push:
branches:
- develop
- 'submodule/CCC'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: 'temurin'
- name: Gradle Build
uses: gradle/[email protected]
with:
arguments: build koverXmlReport --parallel
- name: Upload to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/kover/report.xml
- name: Upload to Codacy
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: build/reports/kover/report.xml
- name: Notify slack fail
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/[email protected]
with:
channel: submob
status: FAILED
color: danger