From 319a8aae8f9d6a3ab602808f7e0aa9f6a20765fa Mon Sep 17 00:00:00 2001 From: Anur Date: Mon, 8 Feb 2021 17:48:54 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9c6a79698be..3972072f467 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -68,8 +68,8 @@ jobs: - name: Build syncthing working-directory: ./syncthing-source run: | - go run $RELEASE_VERSION = "${{github.ref}}".Split("/")["${{github.ref}}".Split("/").Length -1] - go run build.go -targetName=syncthing -cmd=zip -nocalhostVersion="${RELEASE_VERSION}" -nocalhostCommitId=%GITHUB_SHA% + set RELEASE_VERSION="${{github.ref}}".Split("/")["${{github.ref}}".Split("/").Length -1] + go run build.go -targetName=syncthing -cmd=zip -nocalhostVersion="$RELEASE_VERSION" -nocalhostCommitId=%GITHUB_SHA% - name: Push to Coding Articact working-directory: ./syncthing-source