mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
name: Test changed-files
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Run changed-files
|
|
id: changed-files
|
|
uses: ./
|
|
- name: Show output
|
|
run: |
|
|
echo "Added Files: ${{ steps.changed-files.outputs.added_files }}"
|
|
echo "Copied Files: ${{ steps.changed-files.outputs.copied_files }}"
|
|
echo "Deleted Files: ${{ steps.changed-files.outputs.deleted_files }}"
|
|
echo "Modified Files: ${{ steps.changed-files.outputs.modified_files }}"
|
|
echo "Renamed Files: ${{ steps.changed-files.outputs.renamed_files }}"
|
|
echo "Changed Files: ${{ steps.changed-files.outputs.changed_files }}"
|
|
echo "Unmerged Files: ${{ steps.changed-files.outputs.unmerged_files }}"
|
|
echo "Unknown Files: ${{ steps.changed-files.outputs.unknown_files }}"
|
|
echo "All Changed Files: ${{ steps.changed-files.outputs.all_changed_files }}"
|
|
|