From bb40f54b50fdae3a1a084b597370e7e0f95c28ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Mata=20Su=C3=A1rez?= Date: Fri, 31 Jul 2020 16:06:42 -0300 Subject: [PATCH] feat: Added 'multiple-files' test workflow --- .github/workflows/test.yml | 17 +++++++++++++++++ README.md | 3 +++ 2 files changed, 20 insertions(+) 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)