diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bba52d..0d6bd71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ permissions: jobs: build-test: if: github.repository == 'akka/akka-http-quickstart-scala.g8' - runs-on: ubuntu-22.04 + runs-on: Akka-Default steps: - name: Checkout diff --git a/src/main/g8/README.md b/src/main/g8/README.md index 2fd4715..5207706 100644 --- a/src/main/g8/README.md +++ b/src/main/g8/README.md @@ -9,6 +9,10 @@ Sources in the sample: * `UserRegistry.scala` -- the actor which handles the registration requests * `JsonFormats.scala` -- converts the JSON data from requests into Scala types and from Scala types into JSON responses +## Configure the resolver + +> The Akka dependencies are available from Akka’s secure library repository. To access them you need to use a secure, tokenized URL as specified at https://account.akka.io/token. + ## Interacting with the sample After starting the sample with `sbt run` the following requests can be made: diff --git a/src/main/g8/build.sbt b/src/main/g8/build.sbt index 39da8ea..76057cd 100644 --- a/src/main/g8/build.sbt +++ b/src/main/g8/build.sbt @@ -1,7 +1,8 @@ lazy val akkaHttpVersion = "$akka_http_version$" lazy val akkaVersion = "$akka_version$" -resolvers += "Akka library repository".at("https://repo.akka.io/maven") +// Replace this with your tokenized resolver URL, see README.md +resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions") // Run in a separate JVM, to make sure sbt waits until all threads have // finished before returning.