Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update requirements.txt for newer dependencies, build workflow simpli… #3

Update requirements.txt for newer dependencies, build workflow simpli…

Update requirements.txt for newer dependencies, build workflow simpli… #3

Workflow file for this run

name: Build and Release
on:
push:
tags:
- 'v*' # Trigger on version tags (e.g. v1.0.0)
jobs:
build:
runs-on: windows-latest
permissions:
contents: write
actions: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build executable
run: pyinstaller --onefile v2s.py --name v2s
- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
files: dist/v2s.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}