File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed
Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build Linux
2+
3+ on : [push, workflow_dispatch]
4+
5+ jobs :
6+ build-linux :
7+ runs-on : linux
8+ steps :
9+ - name : Checkout code
10+ uses : actions/checkout@v4
11+
12+ - name : Create .env file
13+ run : |
14+ echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" > .env
15+ echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> .env
16+ type .env # For debugging (optional)
17+
18+ - name : Setup Flutter
19+ uses : subosito/flutter-action@v2
20+ with :
21+ channel : stable
22+ cache : true
23+
24+ - name : Install dependencies
25+ run : flutter pub get
26+
27+ - name : Build Windows EXE
28+ run : flutter build windows --release
29+
30+ - name : Package using Fastforge
31+ run : fastforge package --platform windows --targets exe
32+
33+ - name : Upload Artifact
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : WindowsExecutable
37+ path : dist\0.1.0\cookethflow-0.1.0-windows-setup.exe
38+ retention-days : 7 # Optional: Set artifact retention period
Original file line number Diff line number Diff line change @@ -26,10 +26,13 @@ jobs:
2626
2727 - name : Build Windows EXE
2828 run : flutter build windows --release
29+
30+ - name : Package using Fastforge
31+ run : fastforge package --platform windows --targets exe
2932
3033 - name : Upload Artifact
3134 uses : actions/upload-artifact@v4
3235 with :
3336 name : WindowsExecutable
34- path : build\windows\x64\runner\Release\
37+ path : dist\0.1.0\cookethflow-0.1.0-windows-setup.exe
3538 retention-days : 7 # Optional: Set artifact retention period
You can’t perform that action at this time.
0 commit comments