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