From 1a62f83c9c2e134c2efabc382ba0e1d11d82c7e1 Mon Sep 17 00:00:00 2001 From: bsorrentino Date: Fri, 18 Dec 2020 19:01:12 +0100 Subject: [PATCH] add deploy snapshot action --- .github/workflows/deploy-snapshot.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/deploy-snapshot.yaml diff --git a/.github/workflows/deploy-snapshot.yaml b/.github/workflows/deploy-snapshot.yaml new file mode 100644 index 0000000..fe2ffb3 --- /dev/null +++ b/.github/workflows/deploy-snapshot.yaml @@ -0,0 +1,26 @@ +# 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: Maven Package + +on: + push: + branches: + - develop + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 9 + uses: actions/setup-java@v1 + with: + java-version: 9 + + - name: Build with Maven + env: + OSS_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + run: mvn -B deploy --file pom.xml -s settings-template.xml