ota-flasher/.github/workflows/build_artifacts.yaml
2024-06-09 14:18:56 +02:00

33 lines
666 B
YAML

name: Build artifacts
on:
workflow_dispatch:
inputs:
directory:
description: 'Directory to run Docker command in'
required: true
default: '.'
jobs:
build-windows:
runs-on:
- ubuntu-latest
container:
image: batonogov/pyinstaller-windows:latest
options: --rm
volumes:
- ${{ github.workspace }}:/src/
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run PyInstaller
run: |
pyinstaller BTClockOTA.spec
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: windows-artifacts
path: dist/