File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed
Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -109,24 +109,10 @@ jobs:
109109
110110 - name : Publish to npm
111111 run : |
112- # Check Git status
113- echo "=== Git Status Check ==="
114- echo "Current branches:"
115- git branch
116- echo ""
117- echo "Git HEAD status:"
118- git rev-parse --abbrev-ref HEAD
119- echo ""
120- echo "Git status:"
121- git status
122- echo ""
123- echo "Recent commit:"
124- git log -1 --oneline
125- echo ""
126- echo "Remote branch info:"
127- git branch -r | grep HEAD || echo "No remote HEAD found"
128- echo "==================="
129- echo ""
130-
131- pnpm publish
112+ echo '${{ steps.changepacks.outputs.changepacks }}' | jq -r '.[]' | while read package; do
113+ echo "Publishing package: $package"
114+ cd "$package"
115+ pnpm publish
116+ cd "${{ github.workspace }}"
117+ done
132118 if : steps.changepacks.outputs.changepacks != ''
You can’t perform that action at this time.
0 commit comments