From 326b0f19553704009bcaad42f60042fcd44bc6be Mon Sep 17 00:00:00 2001 From: "Fotis Koutoulakis (@NlightNFotis)" Date: Tue, 3 Dec 2024 17:04:03 +0000 Subject: [PATCH] ci: remove sudo from step --- .github/workflows/__test-proxy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index 3be758b02b..d0c96b23f0 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -47,11 +47,12 @@ jobs: uses: actions/checkout@v4 - name: Set up GitHub CLI run: | + apt-get update + apt-install curl curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg - sudo apt-key add /usr/share/keyrings/githubcli-archive-keyring.gpg - sudo apt-add-repository https://cli.github.com/packages - sudo apt-get update - sudo apt-get install gh + apt-key add /usr/share/keyrings/githubcli-archive-keyring.gpg + apt-add-repository https://cli.github.com/packages + apt-get install gh - name: Prepare test id: prepare-test uses: ./.github/actions/prepare-test