[pre-commit.ci] pre-commit autoupdate #40
Workflow file for this run
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
name: build-windows-exe | |
on: | |
pull_request: | |
# This workflow is to make sure that the Windows executables are built correctly. | |
# The artifacts are for this pull request only. | |
# The 'release' versions of artifacts are deployed from the release-deploy workflow. | |
jobs: | |
deploy: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: [ '3.10' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build package | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements-dev.txt | |
python -m build | |
pyinstaller dicom-validator.spec -y | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows_exe | |
path: dist/*.exe |