Skip to content

fix: 修复开场白匹配逻辑并更新相关条件 #10

fix: 修复开场白匹配逻辑并更新相关条件

fix: 修复开场白匹配逻辑并更新相关条件 #10

Workflow file for this run

name: Package Application with Pyinstaller
on:
push:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: '3.12'
architecture: 'x64'
cache: 'pip'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: install req
run: pip install -r requirements.txt
- name: dl upx
run: python .github\getLatestUPX.py; 7z x upx.zip; mv upx-* upx;
- name: pack
run: pyinstaller --upx-dir upx AutoSubtitle.spec -y ; mv dist/AutoSubtitle.exe ./
- name: upload
uses: actions/upload-artifact@v3
with:
name: GUI
path: AutoSubtitle.exe
- name: release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "AutoSubtitle.exe"
draft: false