From 7825dbbe5683f9c6757e33045cfb0ba8967d227f Mon Sep 17 00:00:00 2001 From: jtyoung84 <104453205+jtyoung84@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:08:50 -0700 Subject: [PATCH] ci: add sudo to install commands --- .github/workflows/tag_and_publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tag_and_publish.yml b/.github/workflows/tag_and_publish.yml index 04dd412..8ab805d 100644 --- a/.github/workflows/tag_and_publish.yml +++ b/.github/workflows/tag_and_publish.yml @@ -90,14 +90,14 @@ jobs: - name: Install GO run: | wget https://dl.google.com/go/go$GO_VERSION.$GO_OS-$GO_ARCH.tar.gz - tar -C /usr/local -xzvf go$GO_VERSION.$GO_OS-$GO_ARCH.tar.gz - rm go$GO_VERSION.$GO_OS-$GO_ARCH.tar.gz + sudo tar -C /usr/local -xzvf go$GO_VERSION.$GO_OS-$GO_ARCH.tar.gz + sudo rm go$GO_VERSION.$GO_OS-$GO_ARCH.tar.gz echo 'export PATH=$PATH:/usr/local/go/bin' | tee -a /etc/profile - name: Install Singularity run: | wget https://github.com/hpcng/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-${SINGULARITY_VERSION}.tar.gz - tar -xzf singularity-${SINGULARITY_VERSION}.tar.gz - rm singularity-${SINGULARITY_VERSION}.tar.gz + sudo tar -xzf singularity-${SINGULARITY_VERSION}.tar.gz + sudo rm singularity-${SINGULARITY_VERSION}.tar.gz export PATH=$PATH:/usr/local/go/bin cd singularity ./mconfig --without-suid