Skip to content

Commit

Permalink
[fixup] Only publish artifacts to GitHub and OpenAPI client to Artifa…
Browse files Browse the repository at this point in the history
…ctory
  • Loading branch information
emerkle826 committed Jul 26, 2023
1 parent 3a7d823 commit 6d5852a
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/maven-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,24 @@ jobs:
-DskipTests \
-DaltDeploymentRepository="${REPO}" \
-DaltSnapshotDeploymentRepository="${REPO}"
- name: Deploy Artifacts to Datsatx Artifactory
run: |
REPO="artifactory-releases::default::https://repo.datastax.com/artifactory/datastax-releases-local"
mvn -B clean deploy \
-P dse,dse7 \
-Drevision="${{ env.RELEASE_VERSION }}" \
-DskipTests \
-DaltDeploymentRepository="${REPO}" \
-DaltSnapshotDeploymentRepository="${REPO}"
- name: Deploy OpenAPI client to GitHub Packages
run: |
REPO="gh::default::https://maven.pkg.github.com/${GITHUB_REPOSITORY}"
mvn -B clean deploy \
-f management-api-server/target/generated-sources/openapi/java-client/pom.xml \
-Drevision="${{ env.RELEASE_VERSION }}" \
-DskipTests \
-DaltDeploymentRepository="${REPO}" \
-DaltSnapshotDeploymentRepository="${REPO}"
# - name: Deploy Artifacts to Datsatx Artifactory
# run: |
# REPO="artifactory-releases::default::https://repo.datastax.com/artifactory/datastax-releases-local"
# mvn -B clean deploy \
# -P dse,dse7 \
# -Drevision="${{ env.RELEASE_VERSION }}" \
# -DskipTests \
# -DaltDeploymentRepository="${REPO}" \
# -DaltSnapshotDeploymentRepository="${REPO}"
# - name: Deploy OpenAPI client to GitHub Packages
# run: |
# REPO="gh::default::https://maven.pkg.github.com/${GITHUB_REPOSITORY}"
# mvn -B clean deploy \
# -f management-api-server/target/generated-sources/openapi/java-client/pom.xml \
# -Drevision="${{ env.RELEASE_VERSION }}" \
# -DskipTests \
# -DaltDeploymentRepository="${REPO}" \
# -DaltSnapshotDeploymentRepository="${REPO}"
- name: Deploy OpenAPI client to Datastax Artifactory
run: |
REPO="artifactory-releases::default::https://repo.datastax.com/artifactory/datastax-releases-local"
Expand Down

0 comments on commit 6d5852a

Please sign in to comment.