commit:     9c5c92518816f50f12b491cb99d7d802eeb2168b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 20 15:31:21 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 15:35:48 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/gh-actions.git/commit/?id=9c5c9251

feat: add bash-5.3 to be used by most workflows

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 bash-5.3/action.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/bash-5.3/action.yml b/bash-5.3/action.yml
new file mode 100644
index 0000000..318dc95
--- /dev/null
+++ b/bash-5.3/action.yml
@@ -0,0 +1,18 @@
+name: Install newer bash (5.3)
+
+runs:
+  using: composite
+  steps:
+    - name: Install bash 5.3 (macOS)
+      if: ${{ runner.os == 'macOS' }}
+      shell: bash
+      run: brew install bash
+
+    - name: Install bash 5.3 (Linux)
+      if: ${{ runner.os == 'Linux' }}
+      shell: bash
+      run: |
+        set -e
+        wget 
https://archive.ubuntu.com/ubuntu/pool/universe/b/bash/bash-static_5.3-1ubuntu1_amd64.deb
+        dpkg --fsys-tarfile bash-static_5.3-1ubuntu1_amd64.deb | tar -xO 
./usr/bin/bash-static > /usr/local/bin/bash
+        chmod +x /usr/local/bin/bash

Reply via email to