1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-18 18:07:37 +03:00
EDMarketConnector/.github/workflows/windows-build.yml
dependabot[bot] d02ede356e
build(deps): bump actions/setup-python from 2 to 2.2.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v2.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:16:52 +00:00

45 lines
1012 B
YAML

name: Build EDMC for Windows
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
test:
name: Build EDMC
runs-on: windows-2019
defaults:
run:
shell: powershell
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2.2.2
with:
python-version: "3.9.5"
architecture: "x86"
- name: Install python tools
run: |
pip install wheel
pip install -r requirements-dev.txt
- name: Download winsparkle
run: |
Invoke-Webrequest -UseBasicParsing https://github.com/vslavik/winsparkle/releases/download/v0.7.0/WinSparkle-0.7.0.zip -OutFile out.zip
Expand-Archive out.zip
Move-Item 'out\WinSparkle-0.7.0\Release\*' '.\'
- name: Build EDMC
run: |
python setup.py py2exe
- name: Upload build files
uses: actions/upload-artifact@v2
with:
name: Built files
path: EDMarketConnector_win*.msi