aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: 0353ad532c8db60f7961714f319c7cd4c9b2d308 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI

on: [push]

jobs:

  build:
    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v1
    - uses: jodersky/setup-mill@master
    - name: Import key
      run: echo "${{secrets.GPG_KEY}}" | gpg --import
    - name: Build
      run: mill commando.compile
    - name: assemble
      run: mill commando.assembly
    - name: Test
      run: mill commando.test
    - run: ls -lah out
    - run: ls -lah out/commando
    - run: ls -lah out/commando/assembly/dest
    
    
    # - name: Setup mill
    #   run: |
    #     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