Skip to content

Commit

Permalink
Remove docs Submodule From root Aggregation (zio#500)
Browse files Browse the repository at this point in the history
* remove docs submodule from root aggregation.

* update readme.

* remove extra step.
  • Loading branch information
khajavi authored Jan 29, 2023
1 parent defcee8 commit 87b6894
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,4 @@ jobs:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

website:
runs-on: ubuntu-20.04
timeout-minutes: 30
steps:
- name: Checkout current branch
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v13
- name: Check Docs Compilation
run: ./sbt compileDocs

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ _ZIO Schema_ is used by a growing number of ZIO libraries, including _ZIO Flow_,
In order to use this library, we need to add the following lines in our `build.sbt` file:

```scala
libraryDependencies += "dev.zio" %% "zio-schema" % "0.4.5"
libraryDependencies += "dev.zio" %% "zio-schema-json" % "0.4.5"
libraryDependencies += "dev.zio" %% "zio-schema-protobuf" % "0.4.5"
libraryDependencies += "dev.zio" %% "zio-schema" % "0.4.6"
libraryDependencies += "dev.zio" %% "zio-schema-json" % "0.4.6"
libraryDependencies += "dev.zio" %% "zio-schema-protobuf" % "0.4.6"

// Required for automatic generic derivation of schemas
libraryDependencies += "dev.zio" %% "zio-schema-derivation" % "0.4.5",
libraryDependencies += "dev.zio" %% "zio-schema-derivation" % "0.4.6",
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided"
```

Expand Down
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ lazy val root = project
zioSchemaAvroJS,
zioSchemaAvroJVM,
zioSchemaMsgPackJS,
zioSchemaMsgPackJVM,
docs
zioSchemaMsgPackJVM
)

lazy val tests = crossProject(JSPlatform, JVMPlatform)
Expand Down

0 comments on commit 87b6894

Please sign in to comment.