Skip to content

Commit f456f9d

Browse files
committed
action fix
1 parent 4696d0b commit f456f9d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/package.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818
npm ci
1919
npm pack
2020
file=$(realpath $(ls -t *.tgz | head -1))
21-
echo "::message::generated ${file}"
22-
- run: npm publish ${file}
21+
echo "::notice::generated ${file}"
22+
echo "::group::Start publish"
23+
npm publish ${file}
24+
echo "::endgroup::"
2325
env:
2426
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2527
build-github:
@@ -35,7 +37,9 @@ jobs:
3537
npm ci
3638
npm pack
3739
file=$(realpath $(ls -t *.tgz | head -1))
38-
echo "::message::generated ${file}"
39-
- run: npm publish ${file}
40+
echo "::notice::generated ${file}"
41+
echo "::group::Start publish"
42+
npm publish ${file}
43+
echo "::endgroup::"
4044
env:
4145
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)