mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-13 10:02:15 +00:00
29 lines
600 B
YAML
29 lines
600 B
YAML
---
|
|
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- "[0-9]+.[0-9]+.[0-9]+"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10'
|
|
- run: pip install -r requirements-dev.txt
|
|
|
|
- name: Build Assets
|
|
run: python setup.py sdist bdist_wheel
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
name: "Version ${{ github.ref_name }}"
|
|
generate_release_notes: true
|
|
files: |
|
|
dist/* |