Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alkattan committed Jul 23, 2024
1 parent 8dc4ec2 commit 4a0d224
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Git user
run: |
git config --global user.name "github-actions"
git config --global user.email "alkattan@phiture.com"
git config --global user.email "github-actions@github.com"
- name: Install dependencies
run: |
Expand All @@ -32,9 +32,9 @@ jobs:
run: bump2version patch # or 'minor' or 'major' depending on the level of version bump you want

- name: Get bumped version
id: get_version
run: |
echo "VERSION=$(python setup.py --version)" >> $GITHUB_ENV
id: get_version
run: |
echo "VERSION=$(python setup.py --version)" >> $GITHUB_ENV
- name: Create GitHub release
env:
Expand All @@ -50,8 +50,11 @@ jobs:
- name: Build package
run: python setup.py sdist bdist_wheel

- name: Publish package to PyPI
run: twine upload -u __token__ -p ${{ secrets.SEARCHADS_API_PUBLISH_TOKEN }}dist/*
- name: Publish package
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.SEARCHADS_API_PUBLISH_TOKEN }}
run: twine upload dist/*

- name: Clean up
run: rm -rf dist build *.egg-info

0 comments on commit 4a0d224

Please sign in to comment.