From ef5acf08a7ee834e1c1c00d0a60d9eac26c41860 Mon Sep 17 00:00:00 2001 From: Stepan Burlakov Date: Tue, 22 Oct 2024 13:56:59 +0300 Subject: [PATCH] fix bash substitution --- .github/workflows/build-driver.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-driver.yml b/.github/workflows/build-driver.yml index 0bf0532..e5b60ec 100644 --- a/.github/workflows/build-driver.yml +++ b/.github/workflows/build-driver.yml @@ -58,11 +58,11 @@ jobs: id: package run: | LEIN_SNAPSHOTS_IN_RELEASE=true DEBUG=1 lein uberjar - echo "version=${lein project-version | tail -1}" >> "${GITHUB_OUTPUT}" - echo "jar-name=${lein file-name | tail -1}" >> "${GITHUB_OUTPUT}" + echo "version=$(lein project-version | tail -1)" >> "${GITHUB_OUTPUT}" + echo "jar-name=$(lein file-name | tail -1)" >> "${GITHUB_OUTPUT}" - name: Upload resulting jar file uses: actions/upload-artifact@v4 with: - name: ${{steps.package.outputs.jar-name}} - path: target/uberjar/${{steps.package.outputs.jar-name}} + name: ${{ steps.package.outputs.jar-name }} + path: target/uberjar/${{ steps.package.outputs.jar-name }}