diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70b6fe1..7a2dc7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -96,3 +96,20 @@ jobs: github-token: ${{ secrets.github_token }} version-file: 'test-file.toml' version-path: 'package.version' + + multiple-files: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + path: "./" + + - name: Generate changelog + id: changelog + uses: ./ + env: + ENV: 'dont-use-git' + with: + github-token: ${{ secrets.github_token }} + version-file: 'package.json, package-lock.json' diff --git a/README.md b/README.md index c02b018..a953106 100644 --- a/README.md +++ b/README.md @@ -172,6 +172,9 @@ $ act -j test-toml -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -s gith # To run pre-commit test $ act -j test-pre-commit -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -s github_token=fake-token + +# To run / multiple files test +$ act -j multiple-files -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -s github_token=fake-token ``` ## [License](./LICENSE)