Skip to content

Commit

Permalink
Add create realease and upload release files steps
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexImb authored and thlassche committed Feb 3, 2020
1 parent d9cade2 commit 8a569bf
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,19 @@ jobs:
- uses: ./.github/workflows/ci
- name: Archive bundle
run: tar -zcvf venus-html5-app.tar.gz dist/

- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
- name: Upload Release Archive
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./venus-html5-app.tar.gz
asset_name: venus-html5-app.tar.gz
asset_content_type: application/zip

0 comments on commit 8a569bf

Please sign in to comment.