diff options
author | Jakob Odersky <jakob@odersky.com> | 2019-09-22 16:00:01 -0400 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2019-09-22 16:15:08 -0400 |
commit | edce0b5a9b773ea33c0b137e3f216051ea028220 (patch) | |
tree | ff2b23b9fc97024c502e05edda056ebd3bdccc69 /.github/workflows/main.yml | |
parent | 00239ffb1ce9413ab5db71a19bba619b2d4427d0 (diff) | |
download | commando-edce0b5a9b773ea33c0b137e3f216051ea028220.tar.gz commando-edce0b5a9b773ea33c0b137e3f216051ea028220.tar.bz2 commando-edce0b5a9b773ea33c0b137e3f216051ea028220.zip |
action test: setup mill
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 16 |
1 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 |