Skip to content

Bump urllib3 from 2.5.0 to 2.6.0 (#304) #10

Bump urllib3 from 2.5.0 to 2.6.0 (#304)

Bump urllib3 from 2.5.0 to 2.6.0 (#304) #10

Workflow file for this run

name: Python Publish
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Publish to PyPi
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install build twine
python -m build
twine upload dist/*
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Trigger brew formula generation workflow
run: |
curl --silent \
-X POST \
-H "Authorization: Bearer ${{ secrets.BREW_GH_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/gautamkrishnar/homebrew-socli/actions/workflows/generate.yml/dispatches \
-d '{"ref":"master"}'