Workflow
This commit is contained in:
parent
46b1b4e0cf
commit
f5d47eef14
7
.github/workflows/move-to-main-repo.yaml
vendored
7
.github/workflows/move-to-main-repo.yaml
vendored
@ -58,7 +58,7 @@ jobs:
|
|||||||
script_name_lowercase=$(echo "$script_name" | tr '[:upper:]' '[:lower:]' | tr -d ' ')
|
script_name_lowercase=$(echo "$script_name" | tr '[:upper:]' '[:lower:]' | tr -d ' ')
|
||||||
echo "Script Name: $script_name_lowercase"
|
echo "Script Name: $script_name_lowercase"
|
||||||
echo "script_name=$script_name_lowercase" >> $GITHUB_ENV
|
echo "script_name=$script_name_lowercase" >> $GITHUB_ENV
|
||||||
echo "issue_nr=$issue_nr" >> $GITHUB_ENV
|
echo "issue_nr=$issue_nr" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check if script files exist
|
- name: Check if script files exist
|
||||||
@ -70,11 +70,12 @@ jobs:
|
|||||||
|
|
||||||
if [[ -f "$ct_file" && -f "$install_file" && -f "$json_file" ]]; then
|
if [[ -f "$ct_file" && -f "$install_file" && -f "$json_file" ]]; then
|
||||||
echo "All required files found."
|
echo "All required files found."
|
||||||
echo "files_found=true" >> $GITHUB_ENV
|
echo "files_found=true" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "Not all required files were found."
|
echo "Not all required files were found."
|
||||||
echo "files_found=false" >> $GITHUB_ENV
|
echo "files_found=false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Comment if not all Files found
|
- name: Comment if not all Files found
|
||||||
if: steps.check_files.outputs.files_found == 'false'
|
if: steps.check_files.outputs.files_found == 'false'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user