Skip to content

⬆️ :: Bump androidx.compose:compose-bom from 2024.09.00 to 2024.09.02 #158

⬆️ :: Bump androidx.compose:compose-bom from 2024.09.00 to 2024.09.02

⬆️ :: Bump androidx.compose:compose-bom from 2024.09.00 to 2024.09.02 #158

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Cache Gradle Packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{runner.os}}-gradle-${{hashFiles('**/*.gradle*', '**/gradle-wrapper.properties')}}
restore-keys: |
${{runner.os}}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Access SECRETS_PROPERTIES
run : echo '${{ secrets.SECRETS_PROPERTIES }}' > ./secrets.properties
- name: Run ktlint
run: ./gradlew ktlintCheck
- name: Build with Gradle
run: ./gradlew build
- name: CI Success Notification
if: success()
uses: slackapi/slack-github-action@v1.27.0
with:
payload: |
{
"attachments": [
{
"color": "#00FF00",
"pretext": "✅ ALIO CI Success ✅",
"author_name": "${{ github.triggering_actor }}",
"author_icon": "${{ github.event.sender.avatar_url }}",
"fields": [
{
"title": "Event",
"value": "${{ github.event_name }}",
"short": true
},
{
"title": "Ref",
"value": "${{ github.ref_name }}",
"short": true
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
- name: CI Failure Notification
if: failure()
uses: slackapi/slack-github-action@v1.27.0
with:
payload: |
{
"attachments": [
{
"color": "#FF0000",
"pretext": "❌ ALIO CI Failure ❌",
"author_name": "${{ github.triggering_actor }}",
"author_icon": "${{ github.event.sender.avatar_url }}",
"fields": [
{
"title": "Event",
"value": "${{ github.event_name }}",
"short": true
},
{
"title": "Ref",
"value": "${{ github.ref_name }}",
"short": true
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK