Skip to content

Commit

Permalink
Fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
kobi-lemberg committed Mar 19, 2020
1 parent 37ae3e9 commit e3339d7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@

Github action with JDK 11.0.5, SBT 1.3.8, Docker and Ivy resolver.

Examples:

```$xslt
name: Run tests
uses: matankdr/[email protected]
with:
packages-resolver: "ivy creds"
command: sbt test
name: Run test and upload container
uses: matankdr/[email protected]
with:
docker-login-username: "my username"
docker-login-password: "my password"
docker-registry: "my registry"
packages-resolver: "ivy creds"
command: sbt test docker:publish publish
```
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ else
fi

echo "Running command"
mkdir ~/.ivy2/ || echo "Ivy folder is exists"
echo ${IVY_CONF} >> ~/.ivy2/credentials
${COMMAND}

0 comments on commit e3339d7

Please sign in to comment.