Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
Seun Soyinka authored and Seun Soyinka committed Aug 22, 2024
1 parent 712ab88 commit 4cb989b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sbt-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
java-version: "21"
cache: "sbt"

- name: Cdisplay publish to path
- name: Display publish to path
run: sbt publishTo

# - name: Publish to Maven Repository
Expand Down
13 changes: 0 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ homepage := Some(url("https://github.com/cdcent/hl7-pet"))

pomIncludeRepository := { _ => false }

publishTo := Some("GitHub cdcgov Apache Maven Packages" at "https://maven.pkg.github.com/cdcgov/hl7-pet")
credentials += Credentials(
"GitHub Package Registry",
"maven.pkg.github.com",
"cdcgov",
System.getenv("GITHUB_TOKEN")
)

credentials += Credentials(Path.userHome / ".sbt" / ".credentials")

publishMavenStyle := true

version := "1.2.10"
scalaVersion:= "2.13.13"

//mainClass in assembly := Some("gov.cdc.hl7pet.DeIdentifierApp")
Expand Down
2 changes: 1 addition & 1 deletion src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mvn install:install-file -Dfile=target/hl7_utils-1.1.0-SNAPSHOT.jar -DgroupId=go


export VERSION=1.2.7.1 && \
mvn deploy:deploy-file -DrepositoryId=nexus -Durl=https://imagehub.cdc.gov/repository/maven-ede/ -Dfile=target/scala-2.13/hl7-pet_2.13.2-$VERSION.jar -DgroupId=gov.cdc.hl7 -DartifactId=hl7-pet_2.13.2 -Dversion=$VERSION -Dpackaging=jar -DpomFile=target/scala-2.13/hl7-pet_2.13.2-$VERSION.pom
mvn deploy:deploy-file -DrepositoryId=nexus -Durl=https://imagehub.cdc.gov/repository/maven-ede/ -Dfile=target/scala-2.13/hl7-pet_2.13-$VERSION.jar -DgroupId=gov.cdc.hl7 -DartifactId=hl7-pet_2.13 -Dversion=$VERSION -Dpackaging=jar -DpomFile=target/scala-2.13/hl7-pet_2.13-$VERSION.pom



Expand Down

0 comments on commit 4cb989b

Please sign in to comment.