Skip to content

Commit 7f492c3

Browse files
committed
Use sudo for ARM64
1 parent bbef886 commit 7f492c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/amd64-linux-scheduled-builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: apt-get install --yes ca-certificates curl gnupg && curl -sL https://deb.nodesource.com/setup_21.x | bash - && apt-get update
2020

2121
- name: Install building tools
22-
run: apt-get install --yes git python3 python3-pip gcc g++ make ninja-build nodejs ccache
22+
run: apt-get install --yes git python3 python3-pip gcc g++ make ninja-build nodejs
2323

2424
- name: Clone the repo
2525
run: git clone https://github.com/devraymondsh/libnode-distributable

.github/workflows/arm64-linux-scheduled-builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
- uses: pguyot/arm-runner-action@v2
1414

1515
- name: Update system
16-
run: apt-get update && apt-get --yes upgrade
16+
run: sudo apt-get update && sudo apt-get --yes upgrade
1717

1818
- name: Install Nodejs 21 repo
19-
run: apt-get install --yes ca-certificates curl gnupg && curl -sL https://deb.nodesource.com/setup_21.x | bash - && apt-get update
19+
run: sudo apt-get install --yes ca-certificates curl gnupg && curl -sL https://deb.nodesource.com/setup_21.x | sudo bash - && sudo apt-get update
2020

2121
- name: Install building tools
22-
run: apt-get install --yes git python3 python3-pip gcc g++ make ninja-build nodejs ccache
22+
run: sudo apt-get install --yes git python3 python3-pip gcc g++ make ninja-build nodejs sudo
2323

2424
- name: Clone the repo
2525
run: git clone https://github.com/devraymondsh/libnode-distributable

0 commit comments

Comments
 (0)