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