Skip to content

Replace the deprecated method used to navigate to another view (#13) #43

Replace the deprecated method used to navigate to another view (#13)

Replace the deprecated method used to navigate to another view (#13) #43

Workflow file for this run

name: CI pipeline
on:
push:
branches:
- main
pull_request:
jobs:
ci:
name: CI pipeline
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v1
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Run tests
env:
PREMIUM_REPO_USER: ${{ secrets.PREMIUM_REPO_USER }}
PREMIUM_REPO_PASS: ${{ secrets.PREMIUM_REPO_PASS }}
run: ./gradlew test
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
- name: Build JAR
env:
PREMIUM_REPO_USER: ${{ secrets.PREMIUM_REPO_USER }}
PREMIUM_REPO_PASS: ${{ secrets.PREMIUM_REPO_PASS }}
run: ./gradlew -Pvaadin.productionMode=true bootJar
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/#-action@v2
with:
username: ${{ secrets.DOCKER_HUB_LOGIN }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: jmix/jmix-bookstore:latest