mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-10-23 13:08:16 +08:00
46 lines
951 B
YAML
46 lines
951 B
YAML
name: Generate emu config script (Windows)
|
|
|
|
on:
|
|
push:
|
|
branches: [
|
|
"ci-build-gen-win",
|
|
"ci-build-all"
|
|
]
|
|
pull_request:
|
|
branches: [ "dev" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-2022
|
|
|
|
steps:
|
|
- name: Set up Python 3.10
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: "3.10"
|
|
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
shell: cmd
|
|
working-directory: ${{ github.workspace }}/scripts
|
|
run: recreate_venv_win.bat
|
|
|
|
- name: Rebuild
|
|
shell: cmd
|
|
working-directory: ${{ github.workspace }}/scripts
|
|
run: rebuild_win.bat
|
|
|
|
- name: Upload build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: "generate_emu_config-win-${{ github.sha }}"
|
|
path: 'scripts/bin/win/'
|
|
if-no-files-found: 'error'
|
|
compression-level: 9
|
|
retention-days: 1
|
|
|