Skip to content

Changes to use dart 3.0.0: #214

Changes to use dart 3.0.0:

Changes to use dart 3.0.0: #214

Workflow file for this run

name: Publish to Codecov
on:
push:
env:
KLUTTER_PRIVATE_USERNAME: ${{ secrets.KLUTTER_PRIVATE_USERNAME }}
KLUTTER_PRIVATE_PASSWORD: ${{ secrets.KLUTTER_PRIVATE_PASSWORD }}
KLUTTER_PRIVATE_URL: ${{ secrets.KLUTTER_PRIVATE_URL }}
KLUTTER_JETBRAINS_CERTIFICATE_CHAINS: ${{ secrets.KLUTTER_JETBRAINS_CERTIFICATE_CHAINS }}
KLUTTER_JETBRAINS_PRIVATE_KEY: ${{ secrets.KLUTTER_JETBRAINS_PRIVATE_KEY }}
KLUTTER_JETBRAINS_PRIVATE_KEY_PASSWORD: ${{ secrets.KLUTTER_JETBRAINS_PRIVATE_KEY_PASSWORD }}
jobs:
gradle:
strategy:
matrix:
os: [ macos-latest ]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
cache: gradle
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.5'
channel: 'stable'
- uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.3
arguments: clean build koverMergedXmlReport -p "lib"
- uses: codecov/codecov-action@v2
with:
file: lib/build/koverage.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}