mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
Add Release CI
This commit is contained in:
25
.github/workflows/Release.yml
vendored
Normal file
25
.github/workflows/Release.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Release CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
- name: Install Poetry
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
pip install poetry
|
||||||
|
- name: Build
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
poetry install
|
||||||
|
poetry env use python
|
||||||
|
poetry publish --build -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }} -n
|
||||||
Reference in New Issue
Block a user