Skip to content

Commit

Permalink
Update myaction.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tmart234 authored Oct 30, 2023
1 parent 37318a2 commit 318901f
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/myaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,29 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: python -m pip install --upgrade pip build
- name: Install required packages
run: |
python -m pip install --upgrade pip
pip install toml
- name: Run version bump script
run: python .github/bump_version_setupcfg.py
- name: Automated Version Bump
run: python .github/bump_version.py

- name: Commit and push version bump
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add setup.cfg
git commit -m "Automated version bump" || echo "No changes to commit"
git add setup.cfg pyproject.toml
git commit -m "Automated Version Bump" -a
git push
- name: Build distribution 📦
run: python -m build
- name: Install pypa/build
run: |
python -m pip install build --user
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}


0 comments on commit 318901f

Please sign in to comment.