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 e7ef8e2 Add install svn composite action
e7ef8e2 is described below
commit e7ef8e29da632ccb52d1c5ce394c6e0f3b02d2fd
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Mon Nov 17 18:14:24 2025 +0100
Add install svn composite action
As composite actions are external to workflow - I need it add as separate
commit.
Next we cen use this one action in workflow instead of repeat the same
steps multiple time.
---
.github/actions/install-svn/action.yml | 36 ++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/.github/actions/install-svn/action.yml
b/.github/actions/install-svn/action.yml
new file mode 100644
index 0000000..9c6bb76
--- /dev/null
+++ b/.github/actions/install-svn/action.yml
@@ -0,0 +1,36 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: "Install Subversion"
+
+runs:
+ using: "composite"
+ steps:
+ - name: Install Subversion on Linux
+ if: runner.os == 'Linux'
+ shell: bash
+ run: sudo apt install subversion
+
+ - name: Install Subversion on MacOS
+ if: runner.os == 'MacOS'
+ shell: bash
+ run: brew install subversion
+
+ - name: Install Subversion on Windows
+ if: runner.os == 'Windows'
+ shell: powershell
+ run: choco install --yes svn