Skip to content

Commit

Permalink
Add workflow for creating GitHub release
Browse files Browse the repository at this point in the history
  • Loading branch information
haatveit committed Apr 3, 2023
1 parent e6abc62 commit d7affb1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Create GitHub release

on:
push:
tags:
- "v*"

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: python -m pip install --upgrade pip wheel build
- name: Build the package
run: python -m build
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: dist/**
generate_release_notes: true

0 comments on commit d7affb1

Please sign in to comment.