diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 565c04f..eb99899 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -1,20 +1,12 @@ -# 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: Publish Package - on: release: types: [created] - jobs: publish: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - - name: Set up JDK 14 uses: actions/setup-java@v1 with: @@ -22,7 +14,6 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - - name: Cache uses: actions/cache@v1.0.0 with: @@ -30,7 +21,6 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - - name: Publish package run: | echo "on a tag -> set pom.xml to ${GITHUB_REF##*/}"