使用多线程加速 #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre release | |
on: | |
[push] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: Auto Release | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.8" | |
architecture: 'x86' | |
- name: Install Dependencies | |
run: pip install pyyaml install-jdk psutil pyinstaller pyarmor | |
- name: Generate Bundle | |
run: | | |
python generate-bundle.py | |
- name: Auto release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: latest | |
prerelease: true | |
files: | | |
dist/*.exe |