Skip to content

Commit 6cd8d12

Browse files
authored
Merge pull request #110 from FirelyTeam/copilot/add-sushi-re-run-step
Re-run SUSHI after validation to restore conformance resources modified by CLOSE_SLICING_FOR_VALIDATION
2 parents 8227f09 + b9d0755 commit 6cd8d12

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

action.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,3 +831,19 @@ runs:
831831
INPUT_JAVA_VALIDATION_ENABLED: ${{ inputs.JAVA_VALIDATION_ENABLED }}
832832
INPUT_EXPECTED_FAILS: ${{ inputs.EXPECTED_FAILS }}
833833
INPUT_JAVA_VALIDATION_OPTIONS: ${{ inputs.JAVA_VALIDATION_OPTIONS }}
834+
835+
# --------------------------------------------------------------------------------------------------- #
836+
# Post-processing #
837+
# --------------------------------------------------------------------------------------------------- #
838+
839+
- name: Re-run SUSHI to restore conformance resources after slicing modification
840+
run: |
841+
if $CLOSE_SLICING_FOR_VALIDATION && $INPUT_SUSHI_ENABLED; then
842+
echo "Re-running SUSHI to restore conformance resources after closing slicing for validation ..."
843+
sushi $INPUT_SUSHI_OPTIONS
844+
fi
845+
shell: bash
846+
env:
847+
CLOSE_SLICING_FOR_VALIDATION: ${{ inputs.CLOSE_SLICING_FOR_VALIDATION }}
848+
INPUT_SUSHI_ENABLED: ${{ inputs.SUSHI_ENABLED }}
849+
INPUT_SUSHI_OPTIONS: ${{ inputs.SUSHI_OPTIONS }}

0 commit comments

Comments
 (0)