Skip to content

0.8.9

0.8.9 #101

Workflow file for this run

name: Build Windows Executable
permissions:
contents: write
issues: read
on:
release:
types: [published]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Build executable
run: pyinstaller --name=mmrelay.exe --onefile --console main.py
- name: Build installer
uses: nadeemjazmawe/[email protected]
with:
filepath: "/DAppVersion=${{ github.ref_name }} ./mmrelay.iss"
- name: Upload setup.exe to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: MMRelay_setup_${{ github.ref_name }}.exe
asset_name: MMRelay_setup_${{ github.ref_name }}.exe
tag: ${{ github.ref }}
overwrite: true