Skip to content

[chore] Renovate: Update ktor monorepo 3.0.1 to v3.0.3 #845

[chore] Renovate: Update ktor monorepo 3.0.1 to v3.0.3

[chore] Renovate: Update ktor monorepo 3.0.1 to v3.0.3 #845

Workflow file for this run

name: Gradle Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Decode Keystore
id: decode_keystore
uses: timheuer/[email protected]
with:
fileName: 'release.jks'
encodedString: ${{ secrets.KEYSTORE }}
- uses: actions/checkout@v4
- name: Set timezone
run: echo "TZ=Europe/London" >> $GITHUB_ENV
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'
cache: gradle
- name: Install Xvfb
run: sudo apt-get install -y xvfb
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Gradle build
run: xvfb-run ./gradlew :composeApp:buildReleasePreBundle koverXmlReportRelease --no-daemon
env:
CI: 'true'
KEYSTORE_LOCATION: ${{ steps.decode_keystore.outputs.filePath }}
CI_ANDROID_KEYSTORE_ALIAS: ${{ secrets.BITRISEIO_ANDROID_KEYSTORE_ALIAS }}
CI_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD: ${{ secrets.BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD }}
CI_ANDROID_KEYSTORE_PASSWORD: ${{ secrets.BITRISEIO_ANDROID_KEYSTORE_PASSWORD }}
- name: Upload test report
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-report
path: composeApp/build/reports/tests/
- name: Run codacy-coverage-reporter
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: composeApp/build/reports/kover/reportRelease.xml