From 88c09562a265207126ef0d9a7e946317852aa398 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Fri, 25 Nov 2022 09:00:38 +0800 Subject: [PATCH] doc: update github-actions.md --- docs/github-actions.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/github-actions.md b/docs/github-actions.md index 620fd4e..2ed0ddc 100644 --- a/docs/github-actions.md +++ b/docs/github-actions.md @@ -915,6 +915,15 @@ steps: avatarSize: 42 ``` +### 忽略失败 + +```yml +- run: npm publish + continue-on-error: true + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} +``` + 另见 ---