From be68aeb44fd4099fd716cca845c956182797a335 Mon Sep 17 00:00:00 2001 From: Holger Obermaier <40787752+ho-ob@users.noreply.github.com> Date: Wed, 13 Sep 2023 13:23:37 +0200 Subject: [PATCH] Pipe golang tar package directly to tar --- .github/workflows/runonce.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/runonce.yml b/.github/workflows/runonce.yml index 1b2a5a0..878d92c 100644 --- a/.github/workflows/runonce.yml +++ b/.github/workflows/runonce.yml @@ -165,7 +165,7 @@ jobs: # Use official golang package - name: Install Golang run: | - wget -q https://go.dev/dl/go1.21.1.linux-amd64.tar.gz | \ + wget -q https://go.dev/dl/go1.21.1.linux-amd64.tar.gz --output-document=- | \ tar --directory=/usr/local --extract --gzip export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH go version