From 6456ae2c09802c49b7c758a1f693f46740faad6c Mon Sep 17 00:00:00 2001 From: Hunter LaFaille Date: Mon, 30 Sep 2024 13:39:57 +0000 Subject: [PATCH] Removing Maven Workflow --- .github/workflows/maven-publish.yml | 44 ----------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/maven-publish.yml diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml deleted file mode 100644 index 309790f..0000000 --- a/.github/workflows/maven-publish.yml +++ /dev/null @@ -1,44 +0,0 @@ -# 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/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path - -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 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'corretto' - server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - settings-path: ${{ github.workspace }} # location for the settings.xml file - - - name: Build with Maven - run: mvn -B package --file pom.xml - - - name: Set up Maven settings - run: | - mkdir -p ~/.m2 - echo " - - - github - ${{ github.actor }} - ${{ secrets.ACCESS_TOKEN }} - - - " > ~/.m2/settings.xml - - - name: Publish to GitHub Packages Apache Maven - run: mvn deploy \ No newline at end of file