Skip to content

Commit

Permalink
🎉 初次提交
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Jun 19, 2023
0 parents commit 93dfa61
Show file tree
Hide file tree
Showing 17 changed files with 2,192 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and publish to PyPI

on:
push:
tags:
- v*
workflow_dispatch:

jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@master

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
Loading

0 comments on commit 93dfa61

Please sign in to comment.