Skip to content

Commit 7ed0d43

Browse files
committed
secret creation for .env file again
1 parent b2dfab1 commit 7ed0d43

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build_windows.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build Windows EXE
2+
23
on: [push, workflow_dispatch]
34

45
jobs:
@@ -9,9 +10,10 @@ jobs:
910
uses: actions/checkout@v4
1011

1112
- name: Create .env file
12-
- run: |
13+
run: |
1314
echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" > .env
1415
echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> .env
16+
type .env # For debugging (optional)
1517
1618
- name: Setup Flutter
1719
uses: subosito/flutter-action@v2
@@ -29,4 +31,5 @@ jobs:
2931
uses: actions/upload-artifact@v4
3032
with:
3133
name: WindowsExecutable
32-
path: build/windows/runner/Release/
34+
path: build/windows/runner/Release/
35+
retention-days: 7 # Optional: Set artifact retention period

0 commit comments

Comments
 (0)