Skip to content

Commit

Permalink
remove build step and add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Aug 23, 2022
1 parent 958fb5e commit f59d6bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 42 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build.yml

This file was deleted.

17 changes: 6 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build
name: Release

on:
push:
tags:
- "v*.*.*"
release:
types:
- created

jobs:
release:
Expand All @@ -15,20 +15,15 @@ jobs:

steps:
- uses: actions/checkout@v3

with:
fetch-depth: 0
- uses: actions/setup-python@v3

- name: Fetch tags
run: git fetch --prune --unshallow --tags

- name: Install build tools
run: python -m pip install build --user

- name: Build wheels
run: python -m build --outdir wheels

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: wheels/*.whl

0 comments on commit f59d6bc

Please sign in to comment.