diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 646af93..c228fa9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,11 +15,5 @@ jobs: distribution: adopt architecture: x64 cache: maven - server-id: philterd-repository-snapshots - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - - name: Build and Deploy - run: mvn --batch-mode --update-snapshots test deploy - env: - MAVEN_USERNAME: ${{ secrets.PHILTERD_ARTIFACTS_USER }} - MAVEN_PASSWORD: ${{ secrets.PHILTERD_ARTIFACTS_TOKEN }} + - name: Build + run: mvn --batch-mode --update-snapshots test diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml deleted file mode 100644 index 5181547..0000000 --- a/.github/workflows/deploy.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build Artifacts -on: [push, workflow_dispatch] -jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: adopt - architecture: x64 - cache: maven - server-id: philterd-repository-releases - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - - name: Build and Deploy - run: mvn --batch-mode --update-snapshots test deploy - env: - MAVEN_USERNAME: ${{ secrets.PHILTERD_ARTIFACTS_USER }} - MAVEN_PASSWORD: ${{ secrets.PHILTERD_ARTIFACTS_TOKEN }}