gbe_fork/.github/workflows/build-gen_emu_config-win.yml

46 lines
951 B
YAML
Raw Normal View History

2023-12-16 23:50:30 +08:00
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