From 794662c9102c735fd22e3b4c84ff5d243e18a0d0 Mon Sep 17 00:00:00 2001 From: Dominik Downarowicz Date: Thu, 24 Feb 2022 16:19:17 +0100 Subject: [PATCH] Removed Github Publish --- .github/workflows/maven-publish.yml | 37 ----------------------------- pom.xml | 8 ------- 2 files changed, 45 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 81cb444..0000000 --- a/.github/workflows/maven-publish.yml +++ /dev/null @@ -1,37 +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 Publish - -on: - release: - types: [published] - -jobs: - build: - - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'temurin' - server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - - - name: Build with Maven - run: mvn -B package --file pom.xml - - - name: Deploy to Github Package Registry - env: - GITHUB_TOKEN: ${{ secrets.PACKAGE_TOKEN }} - run: | - mkdir -p ~/.m2 - echo "gh$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')\${env.GITHUB_TOKEN}" > ~/.m2/settings.xml - REPO="gh::default::https://maven.pkg.github.com/${GITHUB_REPOSITORY}" - mvn deploy -DaltReleaseDeploymentRepository="${REPO}" -DaltSnapshotDeploymentRepository="${REPO}" diff --git a/pom.xml b/pom.xml index 78455b0..be0f67d 100644 --- a/pom.xml +++ b/pom.xml @@ -29,14 +29,6 @@ - - - github - GitHub Packages - https://maven.pkg.github.com/HealPoint/j3270Server - - -