3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 23:44:46 +00:00
changed-files/.github/workflows/test.yml

33 lines
1.1 KiB
YAML
Raw Normal View History

2021-03-05 02:36:52 +00:00
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
2021-03-05 03:36:52 +00:00
id: changed-files
2021-03-05 02:36:52 +00:00
uses: ./
2021-03-05 03:36:52 +00:00
- name: Show output
run: |
2021-03-05 10:49:41 +00:00
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 }}"
2021-03-05 03:36:52 +00:00