Skip to content

Commit

Permalink
adding workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
David Wang authored and David Wang committed Mar 27, 2024
1 parent 90215cd commit 49bbe39
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Binary file added .github/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .github/PROTECTED_BRANCHES
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
main
Binary file added .github/workflows/.DS_Store
Binary file not shown.
21 changes: 21 additions & 0 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: publish-pypi

on:
push:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Publish Python Package
uses: mariamrf/[email protected]
with:
python_version: '3.6.0'
env:
TWINE_PASSWORD: ${{ secrets.DMUSR_PASSWORD }}
TWINE_USERNAME: ${{ secrets.DMUSR_USERNAME }}

0 comments on commit 49bbe39

Please sign in to comment.