We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479d2fd commit 2758ba1Copy full SHA for 2758ba1
.github/workflows/reverse_engineering.yml
@@ -80,8 +80,14 @@ jobs:
80
echo "repositories=$repos_str" >> $GITHUB_ENV
81
echo "current_version=$(yq eval '.current_version' $CONFIG_FILE)" >> $GITHUB_ENV
82
echo "rules=$(yq eval '.rules[]' $CONFIG_FILE | paste -sd ",")" >> $GITHUB_ENV
83
- echo "rules_path=$(yq eval '.rules_path // ""' $CONFIG_FILE)" >> $GITHUB_ENV
84
+ RULES_PATH=$(yq eval '.rules_path // ""' $CONFIG_FILE)
85
+ if [ -n "$RULES_PATH" ]; then
86
+ echo "rules_path=benchmark/${{ matrix.directory }}/$RULES_PATH" >> $GITHUB_ENV
87
+ else
88
+ echo "rules_path=" >> $GITHUB_ENV
89
+ fi
90
+
91
# Check for overrideBenchmark input
92
if [ "${{ github.event.inputs.overrideBenchmark }}" == "true" ]; then
93
echo "benchmark="true"" >> $GITHUB_ENV
0 commit comments