From d479a9729ccf97d8fce5237dff9cc45a7e1c5263 Mon Sep 17 00:00:00 2001 From: jtyoung84 <104453205+jtyoung84@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:22:19 -0700 Subject: [PATCH] ci: adds sudo to tee command (#10) --- .github/workflows/tag_and_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag_and_publish.yml b/.github/workflows/tag_and_publish.yml index 8ab805d..421d908 100644 --- a/.github/workflows/tag_and_publish.yml +++ b/.github/workflows/tag_and_publish.yml @@ -92,7 +92,7 @@ jobs: wget https://dl.google.com/go/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 + echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee -a /etc/profile - name: Install Singularity run: | wget https://github.com/hpcng/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-${SINGULARITY_VERSION}.tar.gz