-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.11 KB
/
release.yml
File metadata and controls
47 lines (39 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Release
on:
push:
tags:
- "v*.*.*"
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: dev-install.txt
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-tk
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r dev-install.txt
- name: Build Linux binary
run: |
pyinstaller --clean --onefile --windowed --hidden-import=tkinter --name popupapp popupapp.py
cp dist/popupapp dist/popupapp-linux
- name: Publish GitHub Release
uses: softprops/action-gh-release@v2
with:
files: |
dist/popupapp-linux
generate_release_notes: true
body_path: .github/RELEASE_TEMPLATE.md