We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c7415 commit 4d4d8c5Copy full SHA for 4d4d8c5
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,40 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
8
+permissions:
9
+ id-token: write
10
+ contents: read
11
12
+jobs:
13
+ pypi-publish:
14
+ name: Upload release to PyPI
15
+ runs-on: ubuntu-latest
16
+ environment:
17
+ name: release
18
+ url: https://pypi.org/p/findme-osint
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v4
22
23
+ - name: Set up Python
24
+ uses: actions/setup-python@v5
25
+ with:
26
+ python-version: '3.x'
27
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install build twine
32
33
+ - name: Build package
34
+ run: python -m build
35
36
+ - name: Check package
37
+ run: twine check dist/*
38
39
+ - name: Publish to PyPI
40
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments