[Doc] : Fix raccoon link in the README.md (#29) #294
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run Static Analysis | |
run: ./gradlew :clickstream:testReleaseUnitTest | |
:clickstream-api:testReleaseUnitTest | |
:clickstream-logger:testReleaseUnitTest | |
:clickstream-lifecycle:testReleaseUnitTest | |
:clickstream-util:testReleaseUnitTest | |
:clickstream-health-metrics:testReleaseUnitTest | |
:clickstream-health-metrics-noop:testReleaseUnitTest | |
:clickstream-health-metrics-api:testReleaseUnitTest | |
:clickstream-event-visualiser:testReleaseUnitTest | |
:clickstream-event-visualiser-noop:testReleaseUnitTest | |
:clickstream-event-visualiser-ui:testReleaseUnitTest | |
:clickstream-event-visualiser-ui-noop:testReleaseUnitTest | |
:app:testReleaseUnitTest | |
build: | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew :clickstream:assembleRelease | |
:clickstream-api:assembleRelease | |
:clickstream-logger:assembleRelease | |
:clickstream-lifecycle:assembleRelease | |
:clickstream-util:assembleRelease | |
:clickstream-health-metrics:assembleRelease | |
:clickstream-health-metrics-noop:assembleRelease | |
:clickstream-health-metrics-api:assembleRelease | |
:clickstream-event-listener:assemble | |
:clickstream-event-visualiser:assembleRelease | |
:clickstream-event-visualiser-noop:assembleRelease | |
:clickstream-event-visualiser-ui:assembleRelease | |
:clickstream-event-visualiser-ui-noop:assembleRelease | |
:app:assembleRelease | |
- name: Archive clickstream aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream | |
path: clickstream/build/outputs/aar/**.aar | |
- name: Archive clickstream-api aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-api | |
path: clickstream-api/build/outputs/aar/**.aar | |
- name: Archive clickstream-logger aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-logger | |
path: clickstream-logger/build/outputs/aar/**.aar | |
- name: Archive clickstream-lifecycle aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-lifecycle | |
path: clickstream-lifecycle/build/outputs/aar/**.aar | |
- name: Archive clickstream-util aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-util | |
path: clickstream-util/build/outputs/aar/**.aar | |
- name: Archive clickstream-health-metrics aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-health-metrics | |
path: clickstream-health-metrics/build/outputs/aar/**.aar | |
- name: Archive clickstream-health-metrics-noop aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-health-metrics-noop | |
path: clickstream-health-metrics-noop/build/outputs/aar/**.aar | |
- name: Archive clickstream-health-metrics-api aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-health-metrics-api | |
path: clickstream-health-metrics-api/build/outputs/aar/**.aar | |
- name: Archive clickstream-event-listener jar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-event-listener | |
path: clickstream-event-listener/build/libs/**.jar | |
- name: Archive clickstream-event-visualiser aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-event-visualiser | |
path: clickstream-event-visualiser/build/outputs/aar/**.aar | |
- name: Archive clickstream-event-visualiser-noop aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-event-visualiser-noop | |
path: clickstream-event-visualiser-noop/build/outputs/aar/**.aar | |
- name: Archive clickstream-event-visualiser-ui aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-event-visualiser-ui | |
path: clickstream-event-visualiser-ui/build/outputs/aar/**.aar | |
- name: Archive clickstream-event-visualiser-ui-noop aar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: clickstream-event-visualiser-ui-noop | |
path: clickstream-event-visualiser-ui-noop/build/outputs/aar/**.aar |