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