Skip to content

bump version

bump version #30

Workflow file for this run

name: Python
# https://raw.githubusercontent.com/messense/crfs-rs/main/.github/workflows/Python.yml
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/streamfy
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@9bf09145c3560e451e8d8e87b42ccb3fef5b692d # v36.3.0
with:
since_last_remote_commit: true
files: |
setup.py
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: npm install
working-directory: streamfy/frontend
- run: npm run build
working-directory: streamfy/frontend
- run: sed -i 's/_RELEASE = False/_RELEASE = True/' __init__.py
working-directory: streamfy
- run: cat __init__.py
working-directory: streamfy
- run: python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
if: steps.changed-files.outputs.any_changed == 'true'
uses: pypa/gh-action-pypi-publish@release/v1