Skip to content

Update YTPMVE.cs

Update YTPMVE.cs #72

Workflow file for this run

name: Build executable
on:
push:
branches: [ YTPMVE_UI_VEGAS ]
pull_request:
branches: [ YTPMVE_UI_VEGAS ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build executable
run: |
pyinstaller --onefile YTPMVE_UI.pyw
- uses: actions/upload-artifact@v4
with:
name: YTPMVE
path: ./dist/YTPMVE_UI.exe
- name: Create zip file for pre-release
run: |
move ./dist/YTPMVE_UI.exe .
mkdir YTPMVE
Get-Content .\installfiles.txt | foreach { mv $_ .\YTPMVE}
Compress-Archive .\YTPMVE YTPMVE-$(((get-date).ToUniversalTime()).ToString("yyyyMMdd-HHmmss")).zip
- uses: actions/upload-artifact@v4
with:
name: Dev-Release
path: ./YTPMVE*.zip
create-release:
runs-on: windows-latest
needs: build
continue-on-error: true
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: Dev-Release
- uses: "marvinpinto/action-automatic-releases@latest"
name: Create pre-release
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
YTPMVE*.zip