@@ -59,13 +59,13 @@ jobs:
5959 # This command finds all files and uses 'sed' to replace all the placeholders.
6060 # The sed delimiter is changed from '/' to '|' to safely handle path names.
6161 find . -type f -not -path './.git/*' -not -path './.github/workflows/*' -exec sed -i \
62- -e "s|{{PROJECT_NAME}}|${{ github.event.inputs.new_project_name }}|g"
63- -e "s|{{PROJECT_NAME_LOWER}}|${{ steps.set-variables.outputs.project_name_lower }}|g"
64- -e "s|{{PROJECT_NAME_CAMEL}}|${{ steps.set-variables.outputs.project_name_camel }}|g"
65- -e "s|{{PROJECT_DESCRIPTION}}|${{ github.event.inputs.project_description }}|g"
66- -e "s|{{PROJECT_REPOSITORY_URL}}|${{ github.server_url }}/${{ github.repository }}|g"
67- -e "s|{{PROJECT_HOMEPAGE_URL}}|${{ steps.set-url.outputs.homepage_url }}|g"
68- -e "s|{{CPACK_PACKAGE_CONTACT}}|${{ github.event.inputs.cpack_package_contact }}|g"
62+ -e "s|{{PROJECT_NAME}}|${{ github.event.inputs.new_project_name }}|g" \
63+ -e "s|{{PROJECT_NAME_LOWER}}|${{ steps.set-variables.outputs.project_name_lower }}|g" \
64+ -e "s|{{PROJECT_NAME_CAMEL}}|${{ steps.set-variables.outputs.project_name_camel }}|g" \
65+ -e "s|{{PROJECT_DESCRIPTION}}|${{ github.event.inputs.project_description }}|g" \
66+ -e "s|{{PROJECT_REPOSITORY_URL}}|${{ github.server_url }}/${{ github.repository }}|g" \
67+ -e "s|{{PROJECT_HOMEPAGE_URL}}|${{ steps.set-url.outputs.homepage_url }}|g" \
68+ -e "s|{{CPACK_PACKAGE_CONTACT}}|${{ github.event.inputs.cpack_package_contact }}|g" \
6969 {} +
7070
7171 - name : Remove template-specific files and instructions
8686 body : |
8787 This pull request configures the project from the template with the information you provided.
8888 branch : configure-project-${{ github.run_number }}
89- token : ${{ secrets.GITHUB_TOKEN }}
89+ token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments