Skip to content

Comments

settings_sbt added#8

Open
ankitguptag18 wants to merge 3 commits intolokkju:masterfrom
ankitguptag18:master
Open

settings_sbt added#8
ankitguptag18 wants to merge 3 commits intolokkju:masterfrom
ankitguptag18:master

Conversation

@ankitguptag18
Copy link

Hope this will solve issue #3 and we can use it as follows.

As per the documentation the committed code should create an environment variable INPUT_SETTINGS_SBT which would be available in entrypoint.sh

  id: sbt
  uses: lokkju/github-action-sbt@master
  with:
    commands: test
    settings_sbt: |
      externalResolvers += "maven-releases" at "https://${{secrets.NEXUS_REGISTRY}}/repository/maven-releases/",
      credentials += Credentials("Sonatype Nexus Repository Manager", "${{secrets.NEXUS_REGISTRY}}", "${{secrets.NEXUS_USERNAME}}", "${{secrets.NEXUS_PASSWORD}}")

@ankitguptag18
Copy link
Author

@lokkju Hope you have time to look at the changes and if everything in place, maybe make a release so that we can use your action to authenticate against external repositories. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant