Skip to content

add a new notebook to show the statistics of the enclosed object with… #184

add a new notebook to show the statistics of the enclosed object with…

add a new notebook to show the statistics of the enclosed object with… #184

Workflow file for this run

name: CD
on:
push:
branches:
- main
tags:
- "*.*.*"
pull_request:
branches:
- main
jobs:
nsis:
name: Create Windows installer
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: makensis.exe /V4 vstt-windows-installer.nsi
- name: Upload installer to tagged release
if: startsWith(github.event.ref, 'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: vstt-windows-installer.exe
tag: ${{ github.ref }}
overwrite: true
file_glob: true
pypi:
name: Create PyPI release
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: pip install --upgrade build
- run: python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
if: startsWith(github.event.ref, 'refs/tags/')