Skip to content

v3.0.0

v3.0.0 #5

Workflow file for this run

name: Publish package to Pip
on:
release:
types: [published]
permissions:
id-token: write
jobs:
publish:
if: github.repository == 'tremendous-rewards/tremendous-python'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450