commit: 464adee1d8e64344d1ee59845d583ceb1d24a4e1
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:34:52 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/gh-actions.git/commit/?id=464adee1
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..2137bd2
--- /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 [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