File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 3939 - name : Add poetry-version-plugin
4040 run : poetry self add poetry-version-plugin
4141
42- - name :
43- run : git tag v${{ github.event.inputs.version }}
42+ - name : Create tag and push to GitHub
43+ run : |
44+ git tag v${{ github.event.inputs.version }}
45+ git push origin v${{ github.event.inputs.version }}
4446
4547 - name : Builf package
4648 run : poetry build
5052
5153 - uses : ncipollo/release-action@v1
5254 with :
53- name : Release v${{ github.event.inputs.version }}
55+ name : Release v${{ github.event.inputs.version }}
56+ tag : v${{ github.event.inputs.version }}
Original file line number Diff line number Diff line change 11# Motor Adapter for PyCasbin
2-
3- [ ![ Test] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/ci.yml/badge.svg?branch=main )] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/ci.yml )
2+ [ ![ Test] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/ci-test.yml/badge.svg )] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/ci-test.yml )
3+ [ ![ Lint] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/ci-lint.yml/badge.svg )] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/ci-lint.yml )
4+ [ ![ Release] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/release.yml/badge.svg )] ( https://github.com/wf-yamaday/motor-adapter/actions/workflows/release.yml )
45[ ![ Coverage Status] ( https://coveralls.io/repos/github/wf-yamaday/motor-adapter/badge.svg?branch=main )] ( https://coveralls.io/github/wf-yamaday/motor-adapter?branch=main )
6+ ![ PyPI - Version] ( https://img.shields.io/pypi/v/casbin_motor_adapter )
7+ ![ PyPI - Python Version] ( https://img.shields.io/pypi/pyversions/casbin_motor_adapter )
8+ ![ PyPI - License] ( https://img.shields.io/pypi/l/casbin_motor_adapter )
9+
510
611[ Motor] ( https://motor.readthedocs.io/en/stable/ ) adapter for [ PyCasbin] ( https://github.com/casbin/pycasbin ) .
712With this library, Casbin can load policy from MongoDB or save policy to it.
You can’t perform that action at this time.
0 commit comments