Skip to content

Commit

Permalink
Add github build script
Browse files Browse the repository at this point in the history
  • Loading branch information
RJ Fendricks committed Dec 14, 2023
1 parent 4d9d29e commit 34d0101
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build and release

on:
push:
tags:
- "*"

jobs:
release:
runs-on: ubuntu-22.04
continue-on-error: false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install python dependencies
run: |
python -m pip install --upgrade pip build
- name: Build sdist
run: |
python -m build
- name: Create Github release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "dist/*"
token: ${{ secrets.github_token }}

0 comments on commit 34d0101

Please sign in to comment.