From bd52dbda82d69b379647c73292a6e4eb1b171379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Mon, 24 Aug 2020 09:30:35 +0800 Subject: [PATCH] add release action in ci --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e37d45f..ea58974 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,3 +25,14 @@ jobs: - name: Tests run: deno test --unstable + + - name: Release + uses: softprops/action-gh-release@v1 + if: | + matrix.os == 'ubuntu-latest' && + startsWith(github.repository, 'justjavac') && + startsWith(github.ref, 'refs/tags/') + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + draft: true