Merge pull request #303 from OpShin/dev #33
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: Python package | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# If there isn't a release for this version, create a new one. | |
- uses: ncipollo/release-action@v1 | |
with: | |
generateReleaseNotes: true | |
makeLatest: true | |
prerelease: true | |
skipIfReleaseExists: true | |
# Build and publish the package to pypi. | |
- name: Build and publish to pypi | |
uses: JRubics/[email protected] | |
with: | |
python_version: "3.8" | |
pypi_token: ${{ secrets.PYPI_TOKEN }} | |
package_directory: "opshin" | |
ignore_dev_requirements: "yes" |