add @StubFor
annotation to generated gRPC stub classes (#17)
#24
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: Publish Snapshot | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'generator/src/main/kotlin/**' | |
- 'core/src/main/kotlin/**' | |
- 'build.gradle.kts' | |
- 'generator/build.gradle.kts' | |
- 'core/build.gradle.kts' | |
workflow_dispatch: | |
env: | |
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup AdoptOpenJDK | |
uses: joschi/setup-jdk@v2 | |
with: | |
java-version: '17' | |
- name: Build with Gradle | |
working-directory: ./ | |
run: ./gradlew build test publish | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v2 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' |