From 2fb8319d9b8711ec495c593baef7ac0a5976286d Mon Sep 17 00:00:00 2001 From: Prabir Shrestha Date: Fri, 4 Feb 2022 17:32:51 -0800 Subject: [PATCH] add draft release and upload asset for tags --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1796aa7..bb7c5b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,3 +44,12 @@ jobs: - name: Build shell: cmd run: build.cmd + + - name: Create draft release and upload asset + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + draft: true + files: build/dwm-win32.exe + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}