diff --git a/.github/workflows/test-local-action-inside-home.yaml b/.github/workflows/test-local-action-inside-home.yaml index 5c0c446..07d0f37 100644 --- a/.github/workflows/test-local-action-inside-home.yaml +++ b/.github/workflows/test-local-action-inside-home.yaml @@ -75,7 +75,7 @@ jobs: file-clean: "false" file-path: "${{ github.workspace }}/tests/bats-file" - name: Execute test to check Bats-support - if: steps.setup-bats-libs.support-installed == 'True' + if: steps.setup-bats-libs.outputs.support-installed == 'True' run: | cd /tmp/bats-support/ bats test diff --git a/action.yaml b/action.yaml index 6a6673e..e787d5c 100644 --- a/action.yaml +++ b/action.yaml @@ -144,7 +144,7 @@ runs: rm -rf ${TEMPDIR} || exit 0 echo "$DESTDIR" >> "$GITHUB_PATH" - echo "installed=True" >> "$GITHUB_OUTPUT" + echo "bats-installed=True" >> "$GITHUB_OUTPUT" - name: "Set cache for Bats-support" uses: actions/cache@v3 @@ -176,7 +176,7 @@ runs: echo "Bats Support v$VERSION installed in $DESTDIR" # Cleanup bats-support if required [[ "${{ inputs.support-clean }}" = "true" ]] && rm -rf ${TEMPDIR} || exit 0 - echo "installed=True" >> "$GITHUB_OUTPUT" + echo "support-installed=True" >> "$GITHUB_OUTPUT" - name: "Download and install Bats-assert" if: inputs.assert-install == 'true'