Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
moomiji committed Dec 21, 2024
1 parent 681df38 commit c41b1d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/actions/publish_nodejs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -77,16 +77,16 @@ runs:
access: ${{ inputs.access }}
dry-run: ${{ inputs.dry-run }}
-
name: Remove NodeJS Release
name: Finished
if: always()
shell: bash
run: |
eval $ON_FINISHED || echo "::warning::Failed to eval $ON_FINISHED"
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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c41b1d4

Please sign in to comment.