From 572091a5ff78d28d7a5982af2b732b9aaa985629 Mon Sep 17 00:00:00 2001 From: Ashesh Vidyut Date: Wed, 14 Feb 2024 19:05:41 +0530 Subject: [PATCH] unzip with overwrite flag --- .github/workflows/bin-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bin-ci.yml b/.github/workflows/bin-ci.yml index 1b4a5c6..186b792 100644 --- a/.github/workflows/bin-ci.yml +++ b/.github/workflows/bin-ci.yml @@ -40,7 +40,7 @@ jobs: working-directory: ./consul-lambda/consul-lambda-registrator test: - name: unit test (consul-version=${{ matrix.consul-version }}) + name: unit test (consul-version=${{ matrix.consul-version }}) - platform=${{ matrix.platform.goos }}_${{ matrix.platform.goarch }} strategy: matrix: consul-version: @@ -72,7 +72,7 @@ jobs: PLATFORM="${{ matrix.platform.goos }}_${{ matrix.platform.goarch }}" FILENAME="consul_${CONSUL_VERSION}_${PLATFORM}.zip" curl -sSLO "https://releases.hashicorp.com/consul/${CONSUL_VERSION}/${FILENAME}" && \ - unzip "${FILENAME}" -d /usr/local/bin && \ + unzip -o "${FILENAME}" -d /usr/local/bin && \ rm "${FILENAME}" consul version - name: Build