mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
5b84ed26a3
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
name: Manual Test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
test:
|
|
name: Test changed-files
|
|
runs-on: ${{ matrix.platform }}
|
|
strategy:
|
|
fail-fast: false
|
|
max-parallel: 7
|
|
matrix:
|
|
platform: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- name: Run changed-files with defaults
|
|
id: changed-files
|
|
uses: ./
|
|
|
|
- name: Show output
|
|
run: |
|
|
echo '${{ toJSON(steps.changed-files.outputs) }}'
|
|
|
|
- name: Run changed-files with glob filtering
|
|
id: changed-files-glob
|
|
uses: ./
|
|
with:
|
|
files: |
|
|
test/*.txt
|
|
|
|
- name: Show output
|
|
run: |
|
|
echo '${{ toJSON(steps.changed-files-glob.outputs) }}'
|
|
|
|
- name: Run changed-files with glob filtering and all_old_new_renamed_files
|
|
id: changed-files-glob-all-old-new-renamed-files
|
|
uses: ./
|
|
with:
|
|
include_all_old_new_renamed_files: true
|
|
files: |
|
|
test/*.txt
|
|
|
|
- name: Show output
|
|
run: |
|
|
echo '${{ toJSON(steps.changed-files-glob-all-old-new-renamed-files.outputs) }}'
|