-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.02 KB
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: python
package-name: 'scribemi'
include-v-in-tag: false
token: ${{ secrets.PATFORRELEASE }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-python@v4
if: ${{ steps.release.outputs.release_created }}
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
if: ${{ steps.release.outputs.release_created }}
- run: python3 -m build
if: ${{ steps.release.outputs.release_created }}
- uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ steps.release.outputs.release_created }}
with:
password: ${{ secrets.PYPI_PASSWORD }}