mirror of
https://github.com/WorldObservationLog/AppleMusicDecrypt.git
synced 2026-01-16 06:42:55 -03:00
34 lines
897 B
YAML
34 lines
897 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- v2
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_winodws:
|
|
name: Build Windows
|
|
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: Create venv
|
|
run: python -m venv .venv
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install poetry
|
|
poetry install
|
|
- name: Prepare environment
|
|
run: |
|
|
cp config.example.toml config.toml
|
|
echo ".\.venv\Scripts\python.exe main.py" > start.ps1
|
|
echo ".venv\Scripts\python.exe main.py" > start.bat
|
|
- name: Upload CLI artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: AppleMusicDecrypt-Windows
|
|
path: .
|
|
include-hidden-files: true |