[maven-release-plugin] prepare release 2.11.0 #56
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 and test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Clone and build boot-framework | |
uses: actions/checkout@v3 | |
with: | |
repository: steliomo/boot-frameworks | |
ref: 1.0.6 | |
path: boot-frameworks | |
- name: Copy the report files | |
run: mkdir -p /opt/grocery/data/reports && cp -r grocery-persistence/src/main/resources/reports/*.jrxml /opt/grocery/data/reports && cp -r grocery-persistence/src/main/resources/img/*.* /opt/grocery/data/reports | |
- name: Build and install boot-framework | |
run: mvn clean install -f boot-frameworks | |
- name: Update Ubuntu | |
run: sudo apt-get update | |
- name: Install fonts | |
run: sudo apt-get install ttf-mscorefonts-installer | |
- name: Update font Source | |
run: sudo fc-cache -f -v | |
- name: Build with Maven | |
run: mvn clean install |