File: github-actions-publish-project.yml

package info (click to toggle)
python-lazy-model 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 152 kB
  • sloc: python: 280; makefile: 7
file content (21 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Publish project
on:
  push:
    branches:
      - main
jobs:
  publish_project:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: 3.12
      - name: install poetry
        uses: abatilo/actions-poetry@v2
        with:
          poetry-version: 1.2
      - name: install dependencies
        run: poetry install
      - name: publish project
        run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }}