Skip to content

Commit 0cb31ea

Browse files
authored
Use sudo for corepack commands in workflow
1 parent f35e9ad commit 0cb31ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/somedotest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
3333
# Build and push dev images
3434
#cd "$GITHUB_WORKSPACE/ref"
35-
corepack enable
36-
corepack prepare yarn@4.9.4 --activate
35+
sudo corepack enable
36+
sudo corepack prepare yarn@4.9.4 --activate
3737
yarn install
3838
npm install -g @devcontainers/cli
3939
GIT_BRANCH=$(echo "${{ github.ref }}" | grep -oP 'refs/(heads|tags)/\K(.+)')

0 commit comments

Comments
 (0)