Skip to content

Commit

Permalink
gh-actions: fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Jul 16, 2024
1 parent 9170aa3 commit fdd7109
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 55 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,36 @@ jobs:
github_token: ${{ secrets.PAT }}
tags: true

publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -e .[tests,elasticsearch5]
- name: Show python dependencies
run: |
python3 --version
pip freeze
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}
39 changes: 0 additions & 39 deletions .github/workflows/publish.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/push-tag.yml

This file was deleted.

0 comments on commit fdd7109

Please sign in to comment.