Skip to content

Commit

Permalink
save as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
markcmurphy committed Jun 21, 2024
1 parent f8343b0 commit 5fcd04b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/update-static-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5fcd04b

Please sign in to comment.