Skip to content

Commit 6644550

Browse files
committed
added a pypi deploy github action
1 parent 909b614 commit 6644550

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: deploy
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
lint:
8+
runs-on: ['ubuntu-22.04']
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: 16
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.7.16'
17+
- run: npm install
18+
- run: touch jnitrace/build/__init__.py
19+
- uses: pypa/gh-action-pypi-publish@release/v1
20+
with:
21+
password: ${{ secrets.PYPI_API_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jnitrace",
3-
"version": "3.3.0",
3+
"version": "3.3.1",
44
"description": "A tool for tracing use of the JNI in Android apps",
55
"private": true,
66
"main": "jnitrace/src/main.js",

0 commit comments

Comments
 (0)