From 9a3469c4b3762aac0cfc392ccd046f33f60b9da8 Mon Sep 17 00:00:00 2001 From: Mathieu Moalic Date: Tue, 24 Oct 2023 16:57:37 +0200 Subject: [PATCH] Fix version in gh action --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a8a44a1b..2b778c02 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: - name: Build Binary run: go build -v -o ./build/amumax -ldflags "-X github.com/MathieuMoalic/amumax/engine.VERSION=${VERSION}" env: - VERSION: ${date +'%Y.%m.%d'} + VERSION: $(date +'%Y.%m.%d') NVCC_CCBIN: /usr/bin/gcc CGO_CFLAGS: "-I${LD_LIBRARY_PATH}" CGO_LDFLAGS: "-lcufft -lcurand -lcuda -L${LD_LIBRARY_PATH} -Wl,-rpath -Wl,$ORIGIN/$RPATH"