Skip to content

Commit 1dffad5

Browse files
authored
Update GitHub Actions
1 parent 1039e00 commit 1dffad5

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
- name: Publish a Python distribution to PyPI
2-
uses: pypa/gh-action-pypi-publish@release/v1
3-
with:
4-
user: __token__
5-
password: ${{ secrets.PYPI_API_TOKEN }}
1+
name: Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
validate-data:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Publish a Python distribution to PyPI
13+
uses: pypa/gh-action-pypi-publish@release/v1
14+
with:
15+
user: __token__
16+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)