Skip to content

Commit 8e2a79e

Browse files
committed
chore: Update bash 5.0 test, using GITHUB_WORKSPACE env var
1 parent f99d624 commit 8e2a79e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252

5353
- name: Install Bash 5.0
5454
run: |
55-
wget --quiet https://github.com/robxu9/bash-static/releases/download/5.0/bash-linux
56-
chmod +x ./bash-linux
55+
wget -O $GITHUB_WORKSPACE/bash-5.0 --quiet https://github.com/robxu9/bash-static/releases/download/5.0/bash-linux
56+
chmod +x $GITHUB_WORKSPACE/bash-5.0
5757
5858
- name: Install Eldev
5959
uses: emacs-eldev/setup-eldev@v1
@@ -62,5 +62,6 @@ jobs:
6262
uses: actions/checkout@v4
6363

6464
- name: Test the project
65-
run: './bash-linux --version && eldev -p -dtT test --bash=./bash-linux'
65+
run: |
66+
$GITHUB_WORKSPACE/bash-5.0 --version && eldev -p -dtT test --bash=$GITHUB_WORKSPACE/bash-5.0
6667

0 commit comments

Comments
 (0)