diff --git a/.github/workflows/github-action-build.yml b/.github/workflows/github-action-build.yml index 06e87c3..3970ad3 100644 --- a/.github/workflows/github-action-build.yml +++ b/.github/workflows/github-action-build.yml @@ -18,7 +18,7 @@ jobs: - name: Build with Maven run: mvn --batch-mode --update-snapshots package - deploy: + publish: needs: [ "build" ] if: contains(github.ref_name, 'dev/') permissions: @@ -27,7 +27,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 with: java-version: '17' @@ -38,5 +37,5 @@ jobs: GITHUB_USERNAME: makbn GITHUB_ACTOR: makbn GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: mvn -e --settings settings.xml deploy + run: mvn --settings settings.xml deploy diff --git a/pom.xml b/pom.xml index 4fefaf4..63ad0f0 100644 --- a/pom.xml +++ b/pom.xml @@ -159,7 +159,7 @@ github - GitHub Packages + GitHub makbn Apache Maven Packages https://maven.pkg.github.com/makbn/java_leaflet diff --git a/settings.xml b/settings.xml index 2f5827a..b9ad3ae 100644 --- a/settings.xml +++ b/settings.xml @@ -9,16 +9,16 @@ github - - central - https://repo1.maven.org/maven2 - github + GitHub makbn Apache Maven Packages https://maven.pkg.github.com/makbn/java_leaflet true + + true +