Skip to content

Commit

Permalink
add release action in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
justjavac committed Aug 24, 2020
1 parent 790414a commit a4e42c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a4e42c3

Please sign in to comment.