From 5fcd04bf99e44e60daffa6c52509903c9147a061 Mon Sep 17 00:00:00 2001 From: Mark Murphy Date: Fri, 21 Jun 2024 16:33:45 -0400 Subject: [PATCH] save as artifact --- .github/workflows/update-static-paths.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-static-paths.yml b/.github/workflows/update-static-paths.yml index 1c82a1e03..023c2ccda 100644 --- a/.github/workflows/update-static-paths.yml +++ b/.github/workflows/update-static-paths.yml @@ -8,9 +8,16 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v2 - name: List contents of the repository run: | echo "Listing all contents of the repository:" - ls -R + find . -type f | sed 's|^\./||' | jq -R -s -c 'split("\n")[:-1]' > repo-contents.json + cat repo-contents.json + + - name: Upload repository contents as artifact + uses: actions/upload-artifact@v2 + with: + name: repo-contents + path: repo-contents.json