From 17e07d8bc032c41929a28e4ac0180f5fd41e62e8 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 12 Jan 2024 10:43:51 -0700 Subject: [PATCH] chore: create multi-job-test.yml (#1843) Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> --- .github/workflows/multi-job-test.yml | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/multi-job-test.yml diff --git a/.github/workflows/multi-job-test.yml b/.github/workflows/multi-job-test.yml new file mode 100644 index 00000000..b02766fb --- /dev/null +++ b/.github/workflows/multi-job-test.yml @@ -0,0 +1,38 @@ +name: Multi Job Test + +on: + push: + branches: + - "**" + pull_request: + branches: + - "**" + +permissions: + contents: read + +jobs: + changed-files: + name: Get changed files + runs-on: ubuntu-latest + outputs: + all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }} + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Get changed files + id: changed-files + uses: ./ + - name: List all changed files + run: echo '${{ steps.changed-files.outputs.all_changed_files }}' + + view-changed-files: + name: View all changed files + runs-on: ubuntu-latest + needs: [changed-files] + steps: + - name: List all changed files + run: | + echo '${{ needs.changed-files.outputs.all_changed_files }}'