Skip to content

Commit

Permalink
Merge pull request #72 from MingjieJian/develop
Browse files Browse the repository at this point in the history
Merge Develop to master
  • Loading branch information
MingjieJian authored Jan 19, 2024
2 parents b8ab714 + 49cf152 commit a2ce89e
Show file tree
Hide file tree
Showing 105 changed files with 29,915 additions and 18 deletions.
46 changes: 38 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,43 @@
name: pypi-publish

on: push

jobs:
pypi-publish:
name: upload release to PyPI
build:
name: Build distribution
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install required packages
run: pip install setuptools zenodo_get
- name: Build a source tarball
run: python3 setup.py sdist
- name: Upload all the dists
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

publish-to-pypi:
name: Publish to PyPI
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pymoog # Replace <package-name> with your PyPI project name
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ __pycache__/
docs/_build/
build/
*.pyc
dist/
node_modeules/
Binary file added dist/pymoog-0.1.3.tar.gz
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added dist_old/pymoog-0.1.1.tar.gz
Binary file not shown.
Binary file added dist_old/pymoog-0.1.2.tar.gz
Binary file not shown.
89 changes: 89 additions & 0 deletions node_modules/commitizen/dist/cli/commitizen.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions node_modules/commitizen/dist/cli/git-cz.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions node_modules/commitizen/dist/cli/parsers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions node_modules/commitizen/dist/cli/parsers/commitizen.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions node_modules/commitizen/dist/cli/parsers/git-cz.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions node_modules/commitizen/dist/cli/strategies.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

87 changes: 87 additions & 0 deletions node_modules/commitizen/dist/cli/strategies/git-cz.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a2ce89e

Please sign in to comment.