Skip to content

Update ktor to v2.3.6 (#48) #237

Update ktor to v2.3.6 (#48)

Update ktor to v2.3.6 (#48) #237

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