fail job if nothing changed
Some checks failed
Reload Act Runner Stack to clear cache for workflows / deploy-gitainer (push) Failing after 4s
Some checks failed
Reload Act Runner Stack to clear cache for workflows / deploy-gitainer (push) Failing after 4s
This commit is contained in:
parent
567d159ae3
commit
90ef687663
@ -23,9 +23,6 @@ jobs:
|
||||
is_changed: ${{ steps.changed-files-specific.outputs.any_changed }}
|
||||
|
||||
steps:
|
||||
- name: Echo test
|
||||
run: echo "${{ inputs.files }}"
|
||||
|
||||
- name: Checkout Code to Build
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@ -39,6 +36,8 @@ jobs:
|
||||
with:
|
||||
files: ${{ inputs.files }}
|
||||
|
||||
- name: Run step if any file(s) in the docs folder change
|
||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
||||
run: echo "files changed"
|
||||
- name: Fail the job if nothing is changed
|
||||
if: steps.changed-files-specific.outputs.any_changed != 'true'
|
||||
run: |
|
||||
echo "nothing changed"
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user