Update README.md #79
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
# this name appears in the badge | |
name: 'test' | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3.5.3 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3.11.0 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
- name: Configure Maven | |
env: | |
M2_SETTINGS_XML: ${{ secrets.M2_SETTINGS_XML }} | |
run: | | |
set -euo pipefail | |
mkdir -p $HOME/.m2 | |
echo "$M2_SETTINGS_XML" > $HOME/.m2/settings.xml | |
- name: Build & Deploy | |
run: 'mvn clean deploy' |