diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml deleted file mode 100644 index bfe67e2..0000000 --- a/.github/workflows/maven-publish.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Maven Package - -on: - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - - steps: - - uses: actions/checkout@v4 - - - name: Set up JDK 11 - uses: actions/setup-java@v4 - with: - java-version: '11' - distribution: 'temurin' - - - name: Build with Maven - run: mvn -B package --file pom.xml - - - name: Publish to GitHub Packages - uses: actions/setup-java@v4 - with: - java-version: '11' - distribution: 'temurin' - server-id: github - settings-path: ${{ github.workspace }} - - - name: Publish package - run: mvn --batch-mode deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}