diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 2403ebb..148f9a7 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -83,7 +83,7 @@ jobs: - name: Create Release uses: softprops/action-gh-release@v2 with: - draft: ${{ github.ref_type == 'branch' }} + draft: ${{ github.event_name != 'workflow_dispatch' && github.ref_type == 'branch' }} name: ${{ github.ref_type == 'tag' && format('Release {0}', github.ref_name) || 'Electron Release' }} files: | dist/*.exe