Add charset rule #32
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: Maven Deploy | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build | |
run: mvn -B package --file pom.xml | |
- name: Install GPG Key | |
run: echo -e "$GPG_PRIVATE_KEY" | gpg --import --no-tty --batch --yes | |
env: | |
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
- name: Deploy to JavaWebStack Repository | |
run: mvn deploy -s build/settings.xml | |
env: | |
DEPLOYMENT_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME }} | |
DEPLOYMENT_PASSWORD: ${{ secrets.DEPLOYMENT_PASSWORD }} | |
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} |