Skip to content

WebClient -> RestClient #277

WebClient -> RestClient

WebClient -> RestClient #277

name: next-app run tests, build and push Docker
on:
push:
branches:
- main
tags:
- '*'
paths:
- 'next-app/**'
pull_request:
paths:
- 'next-app/**'
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run tests with Gradle
run: ./gradlew -p next-app check --build-cache --info
build-and-push-docker:
needs: run-tests
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: ./.github/workflows/docker-build-template.yml
secrets: inherit
with:
appName: "next-app"
buildWithGradle: false
permissions:
contents: read
packages: write