From c660b4d7a6a176e6dd3cc9aee829c91048a14c3b Mon Sep 17 00:00:00 2001 From: Mounika Pacha Date: Fri, 30 Aug 2024 17:15:23 -0400 Subject: [PATCH] updated to push to github repo and Maven central --- .github/workflows/deploy-to-github.yml | 27 -------------------------- .github/workflows/mvn-settings.xml | 5 ----- pom.xml | 4 ++-- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/deploy-to-github.yml diff --git a/.github/workflows/deploy-to-github.yml b/.github/workflows/deploy-to-github.yml deleted file mode 100644 index f8e61a0..0000000 --- a/.github/workflows/deploy-to-github.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Deploy Maven Packages -on: - push: - branches: - - main -jobs: - publish: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - name: Checkout code - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: temurin - - - name: Publish Package - lib-hl7v2-nist - run: mvn -B package - - - name: Deploy to Github Packages - run: mvn deploy --settings .github/workflows/mvn-settings.xml - env: - LIB_GITHUB_ACTOR: '${{ secrets.LIB_GITHUB_ACTOR }}' - LIB_GITHUB_TOKEN: '${{ secrets.LIB_GITHUB_TOKEN }}' \ No newline at end of file diff --git a/.github/workflows/mvn-settings.xml b/.github/workflows/mvn-settings.xml index e3bafad..9b2b4fd 100644 --- a/.github/workflows/mvn-settings.xml +++ b/.github/workflows/mvn-settings.xml @@ -12,10 +12,5 @@ http://maven.apache.org/xsd/settings-1.0.0.xsd"> gpg.passphrase ${env.GPG_PASSPHRASE} - - github - ${env.LIB_GITHUB_ACTOR} - ${env.LIB_GITHUB_TOKEN} - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 5a9ad73..00be677 100644 --- a/pom.xml +++ b/pom.xml @@ -33,10 +33,10 @@ https://github.com/CDCgov/lib-hl7v2-nist-validator/tree/main - + UTF-8