Skip to content

Commit 84d1649

Browse files
author
opencode
committed
Remove Linux executable build, focus on flatpak; update manifest to use --user for pip
1 parent 77ba8cc commit 84d1649

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,6 @@ jobs:
5050
name: Voice2Text-macOS
5151
path: dist/Voice2Text
5252

53-
build-linux:
54-
runs-on: ubuntu-latest
55-
steps:
56-
- uses: actions/checkout@v4
57-
- name: Set up Python
58-
uses: actions/setup-python@v4
59-
with:
60-
python-version: '3.8'
61-
- name: Install PortAudio
62-
run: sudo apt-get update && sudo apt-get install -y portaudio19-dev xvfb upx-ucl
63-
- name: Install dependencies
64-
run: |
65-
python -m pip install --upgrade pip
66-
pip install -r requirements.txt
67-
pip install pyinstaller
68-
- name: Build executable
69-
run: xvfb-run pyinstaller voice_app.spec
70-
- name: Upload artifact
71-
uses: actions/upload-artifact@v4
72-
with:
73-
name: Voice2Text-Linux
74-
path: dist/Voice2Text
75-
7653
build-flatpak:
7754
runs-on: ubuntu-latest
7855
steps:
@@ -94,7 +71,7 @@ jobs:
9471
path: com.voice2text.app.flatpak
9572

9673
release:
97-
needs: [build-windows, build-macos, build-linux, build-flatpak]
74+
needs: [build-windows, build-macos, build-flatpak]
9875
runs-on: ubuntu-latest
9976
permissions:
10077
contents: write
@@ -110,7 +87,6 @@ jobs:
11087
files: |
11188
Voice2Text-Windows/Voice2Text.exe
11289
Voice2Text-macOS/Voice2Text
113-
Voice2Text-Linux/Voice2Text
11490
Voice2Text-Flatpak/com.voice2text.app.flatpak
11591
install.sh
11692
draft: false

com.voice2text.app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"name": "python3-pip",
1818
"buildsystem": "simple",
1919
"build-commands": [
20-
"pip3 install --user pip"
20+
"pip3 install --user --upgrade pip"
2121
],
2222
"sources": []
2323
},
2424
{
2525
"name": "voice2text",
2626
"buildsystem": "simple",
2727
"build-commands": [
28-
"pip3 install --prefix=/app -r requirements.txt",
28+
"pip3 install --user -r requirements.txt",
2929
"mkdir -p /app/bin",
3030
"cp voice_app.py /app/bin/",
3131
"cp voice_config.json /app/bin/",

0 commit comments

Comments
 (0)