krz/yoshi-cli

Archived

A password manager for the command line. cli password-manager terminal

Commit 9820417193

982041719349fab4c6a6bcc5f02b02f1ba5e16f7

parent: b5a5fadff8

Unregistered key

Christian Cleberg <156287552+ccleberg@users.noreply.github.com> · 2024-11-07 04:02 UTC
committer: <noreply@github.com>

Create python-publish.yml

Layout: unified · split

.github/workflows/python-publish.yml added +39
@@ -0,0 +1,39 @@
1# This workflow will upload a Python Package using Twine when a release is created
2# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
4# This workflow uses actions that are not certified by GitHub.
5# They are provided by a third-party and are governed by
6# separate terms of service, privacy policy, and support
7# documentation.
8
9name: Upload Python Package
10
11on:
12 release:
13 types: [published]
14
15permissions:
16 contents: read
17
18jobs:
19 deploy:
20
21 runs-on: ubuntu-latest
22
23 steps:
24 - uses: actions/checkout@v4
25 - name: Set up Python
26 uses: actions/setup-python@v5
27 with:
28 python-version: '3.x'
29 - name: Install dependencies
30 run: |
31 python -m pip install --upgrade pip
32 pip install build
33 - name: Build package
34 run: python -m build
35 - name: Publish package
36 uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37 with:
38 user: __token__
39 password: ${{ secrets.PYPI_API_TOKEN }}