This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch svn-path in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
commit f0394fc0b19653751fa630649c55467934a79399 Author: Slawomir Jaranowski <[email protected]> AuthorDate: Tue Nov 18 08:48:40 2025 +0100 Update GitHub PATH --- .github/actions/install-svn/action.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/actions/install-svn/action.yml b/.github/actions/install-svn/action.yml index 9c6bb76..a7a7662 100644 --- a/.github/actions/install-svn/action.yml +++ b/.github/actions/install-svn/action.yml @@ -32,5 +32,17 @@ runs: - name: Install Subversion on Windows if: runner.os == 'Windows' - shell: powershell - run: choco install --yes svn + shell: bash + run: | + choco install --yes svn + # find the svn executable in new cmd session + SVN_EXE=$(cmd.exe /c "where svn" | tr -d '\r' | head -n 1) + SVN_DIR=$(dirname "$SVN_EXE") + echo "$SVN_DIR" >> $GITHUB_PATH + echo "Added Subversion to PATH: $SVN_DIR" +# echo "C:\Program Files (x86)\Subversion\bin" >> $GITHUB_PATH + + - name: Test Subversion on Windows + if: runner.os == 'Windows' + shell: bash + run: svn --version
