diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index e6f1da1..2407449 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -16,13 +16,13 @@ jobs: uses: actions/checkout@v4 with: repository: ${{github.repository}}.wiki - path: markdown + path: . - name: Get Release Tag Name id: get_tag_name run: echo "RELEASE_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV - - name: Update README.md + - name: Update installation.md in wiki run: | find . -maxdepth 2 -type d LATEST_VERSION=${{ env.RELEASE_TAG }} @@ -38,6 +38,6 @@ jobs: git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' git checkout -b update-readme-with-latest-version - git add README.md - git commit -m "Update README with latest version ${{ env.RELEASE_TAG }}" + git add installation.md + git commit -m "Update installation wiki file with latest version ${{ env.RELEASE_TAG }}" git push --force origin update-readme-with-latest-version:main