Merge pull request #9 from sparksp/set-path

Add elm-format to path
This commit is contained in:
Phill Sparks 2020-04-22 09:59:59 +01:00 committed by GitHub
commit d9408d1184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -21,9 +21,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn
- id: elm-format-bin
run: echo ::set-output name=path::$(yarn bin elm-format)
- name: Add elm-format to path
run: echo ::add-path::$(yarn bin)
- uses: ./
with:
elm_format: ${{steps.elm-format-bin.outputs.path}}
# elm_format: elm-format
elm_files: __tests__/elm/${{ matrix.file }}

View File

@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn
- id: elm-format-bin
run: echo ::set-output name=path::$(yarn bin elm-format)
- name: Add elm-format to path
run: echo ::add-path::$(yarn bin)
- uses: sparksp/elm-format-action
with:
elm_format: ${{steps.elm-format-bin.outputs.path}}
# elm_format: elm-format
# elm_files: src/
```
```