Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

name: CI Release Build

on:
push:
paths-ignore:
- '*.md'
- '*.txt'
pull_request:
paths-ignore:
- '*.md'
- '*.txt'

jobs:
release-windows:
name: Build Windows
runs-on: windows-2025
steps:
- uses: actions/checkout@v6
- name: build EXE release
run: |
winget install python3
python3 -m pip install -r requirements.txt pyinstaller
python3 -m PyInstaller --onefile --noconsole rascraper.py
- uses: actions/upload-artifact@v7
with:
name: Windows rascraper.exe binary
path: dist/rascraper.exe
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
release-ubuntu:
name: Build Ubuntu
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: build PKG release
run: |
sudo apt-get update && sudo apt-get install -y python3-dev python3-pip
python3 -m pip install -r requirements.txt pyinstaller
python3 -m PyInstaller --onefile --noconsole rascraper.py
- uses: actions/upload-artifact@v7
with:
name: Ubuntu rascraper binary
path: dist/rascraper
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build/*
dist/*
*.spec