change package name to just-solve-it #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- 'v*' | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: 'Tag to publish (e.g., v1.0.0)' | |
required: true | |
type: string | |
jobs: | |
publish: | |
environment: release | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.inputs.tag || github.ref }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- run: pip install build && python -m build | |
- uses: pypa/gh-action-pypi-publish@release/v1 |