From 55621a6963e40f67ae17c134dd719e29577eb308 Mon Sep 17 00:00:00 2001 From: Eugen Eisler Date: Sat, 17 Aug 2024 13:04:56 +0200 Subject: [PATCH] fix(ci): fix names of artifacts to upload --- .github/workflows/go.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a6143cd..6284d68 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -34,13 +34,14 @@ jobs: - name: Determine OS Name id: os-name run: | - if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then + if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then echo "OS=linux" >> $GITHUB_ENV - elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then + elif [ "${{ matrix.os }}" == "macos-latest" ]; then echo "OS=darwin" >> $GITHUB_ENV else echo "OS=windows" >> $GITHUB_ENV fi + shell: bash - name: Build binary on Linux and macOS if: matrix.os != 'windows-latest'