Manual Build #7
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: Manual Build | |
on: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
jobs: | |
build_win: | |
name: Build package for Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
pip install -e . | |
- name: Build with pyinstaller for Windows | |
run: | | |
pyinstaller aas_manager.spec | |
xcopy /E /I basyx dist\AAS_Manager\basyx | |
cd dist | |
7z a AAS_Manager_Win.zip AAS_Manager | |
- name: Save Build in artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: AAS_Manager_Win | |
path: ./dist/AAS_Manager_Win.zip |