commit: 19462395c568a2ad1c116b267742a8e7ab277735
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:31:21 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/gh-actions.git/commit/?id=19462395
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 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/bash-5.3/action.yml b/bash-5.3/action.yml
new file mode 100644
index 0000000..81bce1e
--- /dev/null
+++ b/bash-5.3/action.yml
@@ -0,0 +1,17 @@
+name: Install newer bash (5.3)
+
+runs:
+ using: composite
+ steps:
+ - name: Install bash 5.3 (macOS)
+ if: ${{ runner.os == 'macOS' }}
+ run: brew install [email protected]
+
+ - 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