Skip to content

Commit 900c958

Browse files
authored
Merge pull request #12 from Crown0815/Crown0815-patch-1
Fix draft condition in build-release workflow
2 parents 098704e + b1e4503 commit 900c958

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
with:
208208
tag_name: ${{ inputs.tag }}
209209
files: forgejo-runner-windows-*/forgejo-runner-windows-*.exe
210-
draft: ${{ needs.test.result != 'success' || inputs.goal == 'draft' }}
210+
draft: ${{ needs.test-runner.result != 'success' || needs.test-act.result != 'success' || inputs.goal != 'release' }}
211211
prerelease: ${{ contains(inputs.tag, 'beta') || contains(inputs.tag, 'alpha') }}
212212
fail_on_unmatched_files: true
213213
body: |

0 commit comments

Comments
 (0)