From c41b1d43c0cf8c6126c00fcad7ce28859520f019 Mon Sep 17 00:00:00 2001 From: moomiji <35213527+moomiji@users.noreply.github.com> Date: Sat, 21 Dec 2024 15:26:50 +0800 Subject: [PATCH] ci: update --- .github/actions/publish_nodejs/action.yml | 8 ++++---- .github/workflows/build.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/publish_nodejs/action.yml b/.github/actions/publish_nodejs/action.yml index bd9570856..c5a7e69f2 100644 --- a/.github/actions/publish_nodejs/action.yml +++ b/.github/actions/publish_nodejs/action.yml @@ -21,7 +21,7 @@ inputs: outputs: failed: description: "Random number" - value: ${{ steps.nodejs.outputs.id == 'undefined' || steps.output_failure.outputs.failed == 'true' }} + value: ${{ steps.nodejs.outputs.id == 'undefined' || steps.publish_failed.outputs.failed == 'true' }} runs: using: 'composite' @@ -77,7 +77,7 @@ runs: access: ${{ inputs.access }} dry-run: ${{ inputs.dry-run }} - - name: Remove NodeJS Release + name: Finished if: always() shell: bash run: | @@ -85,8 +85,8 @@ runs: env: ON_FINISHED: ${{ inputs.on_finished }} - - name: Output Failure - id: output_failure + name: Publish Failed + id: publish_failed if: failure() || steps.nodejs.outputs.id == 'undefined' shell: bash run: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 20983dd2e..76134f56e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -522,6 +522,6 @@ jobs: Please manually publish the following packages: ${{ steps.nuget.outputs.failed && '- nuget @moomiji' || '' }} ${{ steps.pip.outputs.failed && '- pip @MistEO' || '' }} - ${{ steps.nodejs.outputs.id == 'undefined' && '- nodejs @neko-para' || '' }} + ${{ steps.nodejs.outputs.failed && '- nodejs @neko-para' || '' }} cc @MistEO