aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2019-09-22 16:00:01 -0400
committerJakob Odersky <jakob@odersky.com>2019-09-22 16:15:08 -0400
commitedce0b5a9b773ea33c0b137e3f216051ea028220 (patch)
treeff2b23b9fc97024c502e05edda056ebd3bdccc69
parent00239ffb1ce9413ab5db71a19bba619b2d4427d0 (diff)
downloadcommando-edce0b5a9b773ea33c0b137e3f216051ea028220.tar.gz
commando-edce0b5a9b773ea33c0b137e3f216051ea028220.tar.bz2
commando-edce0b5a9b773ea33c0b137e3f216051ea028220.zip
action test: setup mill
-rw-r--r--.github/workflows/main.yml16
-rw-r--r--ci/test/Dockerfile (renamed from ci/Dockerfile)0
2 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5a2cf5f..8fdd637 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -9,10 +9,14 @@ jobs:
steps:
- uses: actions/checkout@v1
- - name: Run a one-line script
- run: echo Hello, world!
- - name: Run a multi-line script
+ - name: Import key
+ run: echo "${{secrets.GPG_KEY}}" | gpg --import
+ - name: Setup mill
run: |
- echo Add other actions to build,
- echo test, and deploy your project.
- - uses: ./ci
+ curl -L https://github.com/lihaoyi/mill/releases/download/0.5.1/0.5.1 | sudo tee /usr/local/bin/mill > /dev/null
+ sudo chmod +x /usr/local/bin/mill
+ - name: Run tests
+ run: mill commando.test
+ - name: Publish
+ run: mill mill.scalalib.PublishModule/publishAll --sonatypeCreds "8VNUX6+2:${{secrets.dummy}}" --publishArtifacts __.publishArtifacts
+ - uses: ./ci/test
diff --git a/ci/Dockerfile b/ci/test/Dockerfile
index 00b7b89..00b7b89 100644
--- a/ci/Dockerfile
+++ b/ci/test/Dockerfile