Skip to content

Commit

Permalink
ci: fix release issue (#486)
Browse files Browse the repository at this point in the history
fix #479
  • Loading branch information
MistEO authored Dec 20, 2024
1 parent 3a72feb commit e9f8670
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ jobs:
prerelease: ${{ needs.meta.outputs.is_pre_release == 'true' }}

- name: Create issue if failed to release
if: steps.nuget.outputs.failed || steps.pip.outputs.failed || ${{ steps.nodejs.outputs.id == 'undefined' }}
if: failure() || steps.nuget.outputs.failed || steps.pip.outputs.failed || steps.nodejs.outputs.id == 'undefined'
uses: actions-cool/issues-helper@v3
with:
actions: "create-issue"
Expand All @@ -552,3 +552,5 @@ jobs:
${{ steps.nuget.outputs.failed && '- nuget @moomiji' || '' }}
${{ steps.pip.outputs.failed && '- pip @MistEO' || '' }}
${{ steps.nodejs.outputs.id == 'undefined' && '- nodejs @neko-para' || '' }}
cc @MistEO

0 comments on commit e9f8670

Please sign in to comment.