aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/python-publish.yml
blob: c06fdfae3d0424640e13e1b13776e78abce93d76 (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
name: Release

on:
  push:
    tags:
      - "v*"
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    permissions:
      id-token: write
    steps:
      - uses: actions/checkout@v4

      - uses: pdm-project/setup-pdm@v4
        name: Setup PDM
        with:
          python-version: 3.9
          cache: true

      - name: Install dependencies
        run: pdm install

      - run: pdm publish
        shell: bash