Skip to content

Commit 37cea6d

Browse files
committed
Use su to install GAS in GitHub workflow
1 parent ddc7c05 commit 37cea6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
with:
1414
node-version: 22
1515

16-
- name: Get the latest version of binutils for an up-to-date GAS
16+
- name: Get the latest version of binutils and install GAS
1717
run: |
1818
LATEST_RELEASE_URL=$(wget -q -O - ftp://ftp.gnu.org/gnu/binutils/ | grep -o "ftp[^\"]*.tar.gz" | sort -V | tail -n 1)
1919
wget -m ${LATEST_RELEASE_URL} -nd -O binutils-latest.tar.gz
2020
mkdir binutils
2121
tar xf binutils-latest.tar.gz -C binutils --strip-components 1
2222
cd binutils
2323
./configure
24-
make all-gas install-gas
24+
su -c "make all-gas install-gas"
2525
as --version
2626
2727
- name: Install and Build

0 commit comments

Comments
 (0)