Skip to content

Commit

Permalink
Merge pull request #23 from PenghaiZhang/feat/use-gha-to-publish
Browse files Browse the repository at this point in the history
Use GHA to publish releases.
  • Loading branch information
PenghaiZhang authored Jun 10, 2021
2 parents 7c83bfd + 26746ba commit 8237b78
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,14 @@ jobs:

- name: Build
run: npm run build

- name: Package
run: npm pack

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: openequella-react-kaltura-simpleuploader-*.tgz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8237b78

Please sign in to comment.