From e478627d6db17165ac55160e8b98743fc55e349a Mon Sep 17 00:00:00 2001 From: Joonas Onatsu Date: Mon, 11 Nov 2024 18:06:42 +0200 Subject: [PATCH] fixes --- .github/actions/build-version/entrypoint.sh | 2 +- .github/workflows/test.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-version/entrypoint.sh b/.github/actions/build-version/entrypoint.sh index c63f9ab..bfd4bcb 100755 --- a/.github/actions/build-version/entrypoint.sh +++ b/.github/actions/build-version/entrypoint.sh @@ -46,4 +46,4 @@ elif [[ "${GITHUB_REF_TYPE}" == "branch" ]]; then fi echo "::endgroup::" -echo "::set-output name=buildver::$buildver" +printf '%s\n' "$buildver" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6930b55..76ec82a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,5 +27,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha || github.ref }} fetch-depth: 0 - name: Extract build version - id: build-version + id: extract-build-version uses: ./.github/actions/build-version + - name: Display build version + run: echo "Build version: ${{ steps.extract-build-version.outputs.buildver }}"