Update GitHub Actions release workflow

This commit is contained in:
Pradyun Gedam 2021-04-07 08:52:07 +01:00
parent 1b1a07f96f
commit f1739c610e
No known key found for this signature in database
GPG Key ID: FF99710C4332258E
1 changed files with 3 additions and 3 deletions

View File

@ -13,13 +13,13 @@ jobs:
- name: Install dependencies
run: |
pip install nox
pip install build
npm install
- name: Generate release assets
run: ./node_modules/.bin/gulp build
- name: Generate final distribution
run: flit build
run: python -m build
- name: Get the release version
id: version
@ -63,7 +63,7 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true
prerelease: false
prerelease: true
- name: Upload sdist to GitHub
uses: actions/upload-release-asset@v1