github-action-sbt | Github Actions support for building SBT projects | Continous Integration library
kandi X-RAY | github-action-sbt Summary
kandi X-RAY | github-action-sbt Summary
Github Actions support for building SBT projects
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of github-action-sbt
github-action-sbt Key Features
github-action-sbt Examples and Code Snippets
Community Discussions
Trending Discussions on github-action-sbt
QUESTION
I'm getting the following error in my github action:
...ANSWER
Answered 2020-Dec-02 at 23:52Your code invokes git describe
, which provides a name for the current commit using the tags in the repository. If there are no tags it can use, then Git will exit with status code 128 so that users can easily detect that it failed.
In your case, you're using v2 of the actions/checkout
action, which does a shallow clone. As a consequence, your repository is almost never going to contain any tags at all (or any other history) and git describe
isn't going to work.
If you want git describe
to work in your project, then you need to adjust the parameters like so:
QUESTION
I have Scala code that successfully builds locally on JDK 13.0.1.
...ANSWER
Answered 2020-Dec-01 at 18:24The action github-action-sbt
uses a Docker container internally (source). Your step Set up JDK 13
only works for things that run directly on the runner, but it doesn't affect containers.
Solution
Specify a tag in the format {JAVA_VERSION}-{SBT_VERSION}-{SCALA_VERSION}
. See below for available versions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install github-action-sbt
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page