Skip to content

Deploy New Snapshot #89

Deploy New Snapshot

Deploy New Snapshot #89

# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
name: Deploy New Snapshot
on:
workflow_dispatch:
branches:
- develop
# on:
# push:
# branches:
# - develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: develop
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
env:
OSS_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: mvn -B deploy --file pom.xml -s settings-template.xml