Skip to content

Commit

Permalink
Added ls command to print out the current path in Action
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisli30 committed Dec 6, 2023
1 parent 62a7082 commit 3769603
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/npm-publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
- name: 🚀 Publish ${{ matrix.package }} package if newer than latest
working-directory: ./packages/${{ matrix.package }}/build
run: |
echo "Listing all files and directories in the current directory:"
ls -la
echo "Listing all files and directories in the parent directory:"
ls -la ..
new_version=$(node -p "require('./package.json').version")
echo "New version from local build folder: $new_version"
Expand Down

0 comments on commit 3769603

Please sign in to comment.