Skip to content

Commit 88d4470

Browse files
committed
ci(circuits): add sudo before running wget command
1 parent bb1c698 commit 88d4470

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
sudo apt-get update && sudo apt-get install -y wget nlohmann-json3-dev libgmp-dev nasm g++ build-essential
8484
8585
- name: Setup Circom
86-
run: wget https://github.com/iden3/circom/releases/download/v2.1.9/circom-linux-amd64 -O /usr/bin/circom && sudo chmod +x /usr/bin/circom
86+
run: sudo wget https://github.com/iden3/circom/releases/download/v2.1.9/circom-linux-amd64 -O /usr/bin/circom && sudo chmod +x /usr/bin/circom
8787

8888
- name: Install dependencies
8989
run: yarn

.github/workflows/pull-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
run: |
112112
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
113113
sudo apt-get update && sudo apt-get install -y wget nlohmann-json3-dev libgmp-dev nasm g++ build-essential
114-
wget https://github.com/iden3/circom/releases/download/v2.1.9/circom-linux-amd64 /usr/bin/circom && sudo chmod +x /usr/bin/circom
114+
sudo wget https://github.com/iden3/circom/releases/download/v2.1.9/circom-linux-amd64 -O /usr/bin/circom && sudo chmod +x /usr/bin/circom
115115
yarn workspace @semaphore-protocol/group build
116116
yarn workspace @semaphore-protocol/identity build
117117
yarn workspace @semaphore-protocol/proof build

0 commit comments

Comments
 (0)