Skip to content

Commit

Permalink
Merge branch 'main' of github.com:YDX-2147483647/bitroom
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed May 4, 2023
2 parents 560479c + 46477ee commit ca92845
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release 🚀

on:
push:
tags:
- v*

jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- name: Setup pdm
uses: pdm-project/setup-pdm@v3
with:
python-version: 3.11
cache: true
- name: Build distributions
run: pdm build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit ca92845

Please sign in to comment.