Skip to content

Update main.yml

Update main.yml #26

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
paths-ignore:
- 'README.md'
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Install pyinstaller
run: pip install pyinstaller
- name: Install pipreqs
run: pip install pipreqs
- name: Generate requirements.txt
run: |
pipreqs --force .
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Set up UPX
run: |
choco install upx -y
- name: Build EXE
run: |
pyinstaller cccam2oscam.spec
- name: Create artifact
run: |
cd dist
move cccam2oscam_*.exe ..
- name: Save ZIP artifact
uses: actions/upload-artifact@v4
with:
name: cccam2oscam-win64
path: cccam2oscam_*.exe