From 356057df3ae834464004bd0e7d92165a898d410b Mon Sep 17 00:00:00 2001 From: tomjo Date: Wed, 11 Oct 2023 00:46:15 +0200 Subject: [PATCH] build: attempt to add versioning flow --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8f5a924..464fa02 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,9 +38,11 @@ jobs: generate-job-summary: true dependency-graph: generate-and-submit - name: Install SVU + env: + GOBIN: /usr/bin run: go install github.com/caarlos0/svu@00b733b056534c0fbdb316bbd37c023e7bb80905 #v1.11.0 - name: Determine version - run: ls -al && echo "PROJECT_VERSION=$(svu --build ${{ github.run_attempt }})" >> "$GITHUB_ENV" + run: ls -al /usr/bin/ && echo "PROJECT_VERSION=$(svu --build ${{ github.run_attempt }})" >> "$GITHUB_ENV" - run: 'echo "Determined version: $PROJECT_VERSION"' - name: Build env: