Skip to content
This repository was archived by the owner on Mar 8, 2026. It is now read-only.

Nightly & Stable Downloads #6

Nightly & Stable Downloads

Nightly & Stable Downloads #6

Workflow file for this run

name: SendYourFiles Builder
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
env:
pythonVersion: 3.13.11
jobs:
build:
name: Build for ${{ matrix.os-name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
os-name: Linux Ubuntu
artifact-path: dist/SendYourFiles-Linux
artifact-name: SendYourFiles-Linux
- os: windows-latest
os-name: Windows
artifact-path: dist/SendYourFiles-Windows.exe
artifact-name: SendYourFiles-Windows
- os: macos-latest
os-name: MacOS
artifact-path: dist/SendYourFiles-MacOS
artifact-name: SendYourFiles-MacOS
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ env.pythonVersion }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.pythonVersion }}
- name: Install Extra System Dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install -y \
build-essential \
pkg-config \
python3-dev \
libcairo2-dev \
libgirepository1.0-dev \
libwebkit2gtk-4.1-dev \
libgtk-3-dev \
gir1.2-gtk-3.0 \
gir1.2-webkit2-4.1
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Compile with PyInstaller
run: pyinstaller build.spec
- name: Rename Build (Windows)
if: runner.os == 'Windows'
run: move dist\SendYourFiles.exe ${{ matrix.artifact-path }}
- name: Rename Build (Linux/macOS)
if: runner.os != 'Windows'
run: mv dist/SendYourFiles ${{ matrix.artifact-path }}
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}
path: ${{ matrix.artifact-path }}