feat: add lock for rip_song to prevent OOM #51
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
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_winodws: | |
name: Build Windows Version | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: Install dependencies | |
run: | | |
python -m pip install poetry | |
poetry install | |
poetry run python -m pip install nuitka | |
- name: Build | |
run: | | |
poetry run python -m nuitka main.py --assume-yes-for-downloads --standalone --follow-imports --include-data-dir=assets=assets --include-data-files=config.example.toml=config.toml --include-data-files=agent.js=agent.js --include-module=mitmproxy_windows | |
- name: Rename | |
run: | | |
ren main.dist AppleMusicDecrypt | |
- name: Upload CLI artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: AppleMusicDecrypt-Windows | |
path: AppleMusicDecrypt | |