Skip to content

Commit

Permalink
Added release CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagamedov committed Oct 5, 2020
1 parent 3b34f19 commit 62fd6ef
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release
on:
push:
tags: ["v*"]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: npm ci
- run: ./node_modules/.bin/webpack -p
- run: ls -la hiku/console/assets
- run: python setup.py sdist
- run: pip3 install twine
- run: twine upload dist/*
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

0 comments on commit 62fd6ef

Please sign in to comment.