From 98ebeec44e0873426a3b277a976216bbcacb420b Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sat, 16 May 2020 06:49:52 +0200 Subject: [PATCH] update --- .github/workflows/template_initialization.yaml | 10 +++++++++- README.template.md | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template_initialization.yaml b/.github/workflows/template_initialization.yaml index a6bd3ec..17a6155 100644 --- a/.github/workflows/template_initialization.yaml +++ b/.github/workflows/template_initialization.yaml @@ -29,6 +29,14 @@ jobs: - uses: actions/checkout@v2 - run: mv README.template.md README.md + - name : String replace + id: id2 + uses: garronej/github_actions_toolkit@master + with: + action_name: string_replace + input_string: ${{github.event.repository.name}} + search_value: '-' + replace_value: '_' - name: Replace tokens in README.MD and package.json uses: cschleiden/replace-tokens@v1 with: @@ -37,7 +45,7 @@ jobs: REPO_NAME: ${{ github.event.repository.name }} USER_OR_ORG: ${{ github.repository_owner }} DESC: ${{ github.event.repository.description }} - REPO_NAME_NO_DASHES: ${{ TODO }} + REPO_NAME_NO_DASHES: ${{ steps.id1.outputs.replace_result }} - uses: actions/setup-node@v1 - name: Update pre-configured dev dependencies run: | diff --git a/README.template.md b/README.template.md index aefb964..218fa14 100644 --- a/README.template.md +++ b/README.template.md @@ -42,7 +42,7 @@ Expose a global ( wider browser support): ```html ```