From f1efa7fb9d5c5f48a46664008fdb40bd05221116 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Thu, 20 Jul 2023 10:07:27 +0200 Subject: [PATCH] new: add as draft release --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c59aa5c..be79e5cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,4 +102,16 @@ jobs: - uses: actions/upload-artifact@v3 with: name: ${{ matrix.platform }} - path: ./out \ No newline at end of file + path: ./out + retention-days: 2 + + - name: Create or Update Draft Release + uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + files: ./out/* + name: "draft" + tag_name: "draft" + draft: true + overwrite: true \ No newline at end of file