mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-03-16 22:10:31 +00:00
24 lines
530 B
YAML
24 lines
530 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
jobs:
|
|
Release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.10"
|
|
- name: Build artifacts
|
|
run: |
|
|
pip install -q wheel
|
|
python setup.py sdist bdist_wheel
|
|
- name: Create release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
files: dist/*
|