sifive / wit

Workspace Integration Tool
Apache License 2.0
23 stars 13 forks source link

actions/init: add a new rule capable of initializing a wit workspace #250

Closed terpstra closed 4 years ago

terpstra commented 4 years ago

This makes checking out a wit workspace a one-liner:

  - uses: sifive/wit/actions/init@v0.13.2

If you want to run wake on the workspace, you can also specify an environment package like this:

 jobs:
   test:
     name: Scala compile
     runs-on: ubuntu-latest

     steps:
     - name: Wit Init
       uses: sifive/wit/actions/init@v0.13.2
       with:
         additional_packages: git@github.com:sifive/environment-blockci-sifive.git::0.7.0

     - name: Run wake scala compile
       uses: sifive/environment-blockci-sifive/actions/wake@0.7.0
       with:
         command: -x 'compileScalaModule myScalaModule | getPathResult'
terpstra commented 4 years ago

Once this is merged, I would greatly appreciate a new tag (v0.13.2) be assigned to the merge commit.

terpstra commented 4 years ago

I've created a different PR for the v0.13.x branch, to take the tag off of.