Create ci.yml

This commit is contained in:
JiJi
2023-01-25 00:43:25 +08:00
parent 318b8acfaf
commit 8175630669
+25
View File
@@ -0,0 +1,25 @@
name: CI
on:
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
publish-pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
steps:
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}