From b2b57afb177c2ca1a8a2f9cb6aa91a300f65c976 Mon Sep 17 00:00:00 2001 From: Andrew Herrington Date: Fri, 10 Jun 2022 16:33:57 -0500 Subject: [PATCH] fix: update integration test --- .github/workflows/integration.yml | 3 +++ main.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index a17a8b9..ff3dca4 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -25,6 +25,9 @@ jobs: uses: andstor/file-existence-action@v1.1.0 with: files: "/github/workspace/integration-test" + - name: Check ls + run: | + ls - name: Check check_files run: | test "${{ steps.check_files.outputs.files_exists }}" == "true" diff --git a/main.py b/main.py index 69b2e40..8e162ce 100644 --- a/main.py +++ b/main.py @@ -72,8 +72,8 @@ def main(): actions_toolkit.set_failed(exc) actions_toolkit.debug(os.listdir(inputs["output_dir"])) + actions_toolkit.debug(os.listdir(output_dir)) actions_toolkit.set_output("outputDir", output_dir) - actions_toolkit.set_output("outputDirContents", json.dumps(os.listdir(output_dir))) if __name__ == "__main__":