From 5c26132b82ba31e16539332d7d1f4033c5db2077 Mon Sep 17 00:00:00 2001 From: Weiqi Gao Date: Thu, 28 Dec 2023 17:37:16 +0800 Subject: [PATCH] Also upload release when pushing submodule --- .github/workflows/build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 62c8516..c571d1b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -115,7 +115,7 @@ jobs: upload-release: name: Upload Release runs-on: ubuntu-latest - if: ${{ inputs.release }} + if: ${{ inputs.release || github.event_name == 'push' }} needs: [build-linux-windows, build-macos] steps: - name: Download release files