Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

don't need release.py, and associated prereqs #3

don't need release.py, and associated prereqs

don't need release.py, and associated prereqs #3

name: Upload paddle-billing-python-sdk Package to PyPi
on:
# release:
# types: [created]
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install build
- name: Build
run: |
python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1