From 0e50ff4445850502d0ef0e72b81cd13986f6f3a8 Mon Sep 17 00:00:00 2001 From: brokenpip3 Date: Tue, 24 Sep 2024 00:15:17 +0200 Subject: [PATCH] another strategy --- action.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/action.yaml b/action.yaml index 73c17e1..2d7515d 100644 --- a/action.yaml +++ b/action.yaml @@ -99,7 +99,7 @@ outputs: value: ${{ (steps.file-install.outputs.file-installed != '') }} lib-path: description: "Bats lib path to use to load the libraries" - value: ${{ steps.libpath.outputs.lib-path }} + value: ${{ steps.libpath.outputs.libpath }} tmp-path: description: "Bats lib path to use to load the libraries" value: ${{ steps.set-paths.outputs.tmp-path }} @@ -353,10 +353,7 @@ runs: id: libpath shell: bash run: | - echo "${{env._LIB_PATH}}" - cat /tmp/bats-lib-path - rm /tmp/bats-lib-path - echo "lib-path=$(cat /tmp/bats-lib-path)" >> $GITHUB_OUTPUT + echo "libpath=$SUPPORT_DESTDIR:$SUPPORT_DESTDIR:$SUPPORT_DESTDIR:$SUPPORT_DESTDIR" >> $GITHUB_OUTPUT - name: "Print info" id: info @@ -367,5 +364,5 @@ runs: echo "Assert installed: ${{ (steps.assert-install.outputs.assert-installed != '') }}" echo "Detik installed: ${{ (steps.detik-install.outputs.detik-installed != '') }}" echo "File installed: ${{ (steps.file-install.outputs.file-installed != '') }}" - echo "Bats lib to use in BATS_LIB_PATH env ${{ steps.libpath.outputs.lib-path }}" + echo "Bats lib to use in BATS_LIB_PATH env ${{ steps.libpath.outputs.libpath }}" echo "Tmp path: ${{ steps.set-paths.outputs.tmp-path }}"