output released version in github actions environement #774
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'gradle' | |
- name: Test with Gradle | |
run: ./gradlew --no-daemon --continue check | |
- name: Jacoco | |
run: ./gradlew jacocoTestReport | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 |