From 3fe493f69f6e8a2bcfdcac27429ad4b317254391 Mon Sep 17 00:00:00 2001 From: Seedgou Date: Sat, 26 Oct 2024 01:53:35 +0800 Subject: [PATCH] fix: remove sudo for dnf --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 950793f..f449b80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: - name: Workaround for the nodejs20.x runtime run: | - sudo dnf -y install nodejs20 + dnf -y install nodejs20 mv /opt/actions-runner/externals/node20/bin/node /opt/actions-runner/externals/node20/bin/node-bak ln -s /usr/bin/node-20 /opt/actions-runner/externals/node20/bin/node