diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 32eefc1f1f88..8a0b8056008e 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -14,15 +14,20 @@ jobs: container: qmkfm/base_container steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 1 + - uses: actions/checkout@v2 + with: + fetch-depth: 1 + + - uses: trilom/file-changes-action@v1.2.4 + id: file_changes + with: + output: '\n' - - name: Print info - run: | - git rev-parse --short HEAD - echo ${{ github.event.pull_request.base.sha }} - echo '${{ steps.file_changes.outputs.files}}' + - name: Print info + run: | + git rev-parse --short HEAD + echo ${{ github.event.pull_request.base.sha }} + echo '${{ steps.file_changes.outputs.files}}' - name: Generate API Data run: qmk generate-api