This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch v4
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/v4 by this push:
new fe2e557 Install subversion on all operating systems
fe2e557 is described below
commit fe2e557dab9e4f3902c18d9e0abafb27796d3f90
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sun Nov 16 22:50:50 2025 +0100
Install subversion on all operating systems
use composite actions to simplify
---
.github/workflows/maven-verify-test.yml | 2 ++
.github/workflows/maven-verify.yml | 28 ++++++----------------------
2 files changed, 8 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/maven-verify-test.yml
b/.github/workflows/maven-verify-test.yml
index 9b7306b..9b158fb 100644
--- a/.github/workflows/maven-verify-test.yml
+++ b/.github/workflows/maven-verify-test.yml
@@ -25,6 +25,8 @@ jobs:
verify-1:
name: Verify 1
uses: ./.github/workflows/maven-verify.yml
+ with:
+ install-subversion: true
# override fail fast config
verify-2:
diff --git a/.github/workflows/maven-verify.yml
b/.github/workflows/maven-verify.yml
index ed94b4f..30a63a2 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -261,13 +261,9 @@ jobs:
if: inputs.ff-run
steps:
- - name: Install Subversion on Ubuntu
- if: inputs.install-subversion && runner.os == 'Linux'
- run: sudo apt install subversion
-
- - name: Install Subversion on MacOS
- if: inputs.install-subversion && runner.os == 'MacOS'
- run: brew install subversion
+ - name: Install Subversion
+ if: inputs.install-subversion
+ uses: apache/maven-gh-actions-shared/.github/actions/install-svn@v4
- name: Show free disk space
run: df -h
@@ -363,21 +359,9 @@ jobs:
run: |
brew install mercurial
- - name: Install Subversion on Ubuntu
- if: >
- inputs.install-subversion &&
- steps.should-run.conclusion == 'success' &&
- runner.os == 'Linux'
- run: |
- sudo apt install subversion
-
- - name: Install Subversion on MacOS
- if: >
- inputs.install-subversion &&
- steps.should-run.conclusion == 'success' &&
- runner.os == 'MacOS'
- run: |
- brew install subversion
+ - name: Install Subversion
+ if: inputs.install-subversion && steps.should-run.conclusion ==
'success'
+ uses: apache/maven-gh-actions-shared/.github/actions/install-svn@v4
- name: Install GnuPG
if: >