Skip to content

Commit

Permalink
Create release
Browse files Browse the repository at this point in the history
  • Loading branch information
audy committed Sep 27, 2024
1 parent a30a433 commit ed55db3
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,27 @@ on:
push:
branches:
- master
pull_request:
tags:
- '*'

jobs:
create-release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Create GitHub release
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref_name }} # Use the tag name
release_name: Release ${{ github.ref_name }}
draft: true
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}


build-wheels:
needs: create-release
runs-on: ${{ matrix.runner }}
strategy:
matrix:
Expand Down

0 comments on commit ed55db3

Please sign in to comment.