blob: 35aa77da86875ac7357f2b4531731ba43d943473 (
plain) (
blame)
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
|
name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
PDM_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
steps:
- uses: actions/checkout@v3
- name: Install pdm
run: pipx install pdm
shell: bash
- uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: "x64"
cache: true
- run: pdm install
shell: bash
- run: pdm publish
shell: bash
|