Skip to content

clean up and use node 20 #1

clean up and use node 20

clean up and use node 20 #1

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
outputs:
files: ${{ steps.changed-files.outputs.files }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Run the action
id: changed-files
uses: ./
- name: Print steps context output
run: |
echo ${{ steps.changed-files.outputs.files }}
echo ${{ steps.changed-files.outputs.sha }}
echo ${{ steps.changed-files.outputs.msg }}
test-matrix:
runs-on: ubuntu-latest
needs: test
strategy:
fail-fast: false
matrix:
file: ${{ fromJSON(needs.test.outputs.files) }}
steps:
- name: Echo file from matrix
run:
echo ${{ matrix.file }}