Skip to content

Commit eb28818

Browse files
mariamrfnourselim0
authored andcommitted
Add github workflow
1 parent f8ebd3b commit eb28818

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@master
15+
- name: Publish Python Package
16+
uses: mariamrf/py-package-publish-action@v2
17+
with:
18+
python_version: '3.6.0'
19+
subdir: 'passgen-py'
20+
env:
21+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
22+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}

passgen-py/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
setup(
44
name = 'passgen-py',
5-
packages = find_packages(where='src'),
6-
version = '0.0.1',
5+
packages = find_packages(),
6+
version = '0.1.1',
77
description = 'Generate Passwords Deterministically based on a Master Password.',
88
classifiers = [
99
'Development Status :: 3 - Alpha',
@@ -16,5 +16,5 @@
1616
'passgen=src:cli',
1717
],
1818
},
19-
install_requires=['click', 'pyperlip'],
19+
install_requires=['click', 'pyperclip'],
2020
)

0 commit comments

Comments
 (0)