Skip to content

Commit

Permalink
fix: 优化 actions 30
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudcome committed Mar 17, 2023
1 parent 364a1cf commit dd04a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/npm-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
# 原始名称
echo "N1=${{ steps.pkg.outputs.name }}" >> $GITHUB_ENV
# 删除 @ 开头
echo "N2=${$N1/@/}" >> $GITHUB_ENV
echo "N2=${N1/@/}" >> $GITHUB_ENV
# 将 / 替换为 __
echo "N3=${N2/\//__}" >> $GITHUB_ENV
echo "origin=$N1" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit dd04a6a

Please sign in to comment.