diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae503cb..dbca2b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,3 +25,14 @@ jobs: - name: Test run: deno test + + - 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