From 1fe3c1b6c8f186ba70f310ce514c9e78ebde82ab Mon Sep 17 00:00:00 2001 From: gatosyocora Date: Sun, 5 Jun 2022 20:47:05 +0900 Subject: [PATCH] =?UTF-8?q?README=E3=82=92txt=E3=81=8B=E3=82=89md=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=8F=9B=E3=81=99=E3=82=8BCI=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/README.md | 1 - .github/make_md.ps1 | 13 ------------- .github/workflows/create_readme.yml | 29 ----------------------------- 3 files changed, 43 deletions(-) delete mode 100644 .github/README.md delete mode 100644 .github/make_md.ps1 delete mode 100644 .github/workflows/create_readme.yml diff --git a/.github/README.md b/.github/README.md deleted file mode 100644 index 5f28270..0000000 --- a/.github/README.md +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/.github/make_md.ps1 b/.github/make_md.ps1 deleted file mode 100644 index 07e1e1b..0000000 --- a/.github/make_md.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -Param( - [String]$src_file_path, - [String]$dst_file_path -) -$text = Get-Content -Path $src_file_path -Encoding UTF8 - -for ($i = 0; $i -lt $text.Length; $i++) { - if (($text[$i].Length -ne 0) -And ($text[$i+1].Length -ne 0)) { - $text[$i] += ' ' - } -} - -Set-Content -Path $dst_file_path -Encoding UTF8 -Value $text \ No newline at end of file diff --git a/.github/workflows/create_readme.yml b/.github/workflows/create_readme.yml deleted file mode 100644 index af86278..0000000 --- a/.github/workflows/create_readme.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Create Readme -# masterブランチにpushされたときに実行 -on: - push: - branches: - - master - paths: - - 'Assets/VRCAvatars3Tools/README.txt' -# 実行内容 -jobs: - create_readme: - runs-on: windows-latest - steps: - - uses: actions/checkout@master - - - name: create readme - env: - SRC_README_PATH: "./Assets/VRCAvatars3Tools/README.txt" - DST_README_PATH: "./.github/README.md" - PS_FILE_PATH: "./.github/make_md.ps1" - run: | - Unblock-File $env:PS_FILE_PATH - powershell $env:PS_FILE_PATH $env:SRC_README_PATH $env:DST_README_PATH - git config --global user.email ${{ secrets.EMAIL }} - git config --global user.name "gatosyocora" - git remote set-url origin https://gatosyocora:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} - git add . - git commit -m "auto convert txt to md" - git push