Skip to content

3.3.0

3.3.0 #224

Workflow file for this run

name: build
on:
push:
branches:
- master
- dev
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
- name: Build with Gradle
uses: eskatos/gradle-command-action@v1
env:
TELEGRAM_ID: ${{ secrets.TELEGRAM_ID }}
CHAT_ID: ${{ secrets.CHAT_ID }}
BOT_ID: ${{ secrets.BOT_ID }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
BOT_TOKEN_2: ${{ secrets.BOT_TOKEN_2 }}
with:
gradle-version: current
arguments: build koverXmlReport -PsonatypeUsername=${{secrets.SONATYPE_USERNAME}} -PsonatypePassword=${{secrets.SONATYPE_PASSWORD}}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: telegram-bot/build/reports/kover/report.xml
verbose: true