Skip to content

Commit 25a8c47

Browse files
timitimi
authored andcommitted
fix: create .env file from example before build
1 parent 0fa3cbc commit 25a8c47

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ jobs:
8888
working-directory: ./lumis
8989
run: pnpm install --frozen-lockfile
9090

91+
- name: Create .env file
92+
working-directory: ./lumis/apps/web
93+
run: cp .env.example .env
94+
9195
- name: Build Tauri app (Apple Silicon)
9296
working-directory: ./lumis/apps/web
9397
run: pnpm tauri:build
@@ -148,6 +152,10 @@ jobs:
148152
working-directory: ./lumis
149153
run: pnpm install --frozen-lockfile
150154

155+
- name: Create .env file
156+
working-directory: ./lumis/apps/web
157+
run: cp .env.example .env
158+
151159
- name: Build Tauri app (Windows)
152160
working-directory: ./lumis/apps/web
153161
run: pnpm tauri:build
@@ -205,6 +213,10 @@ jobs:
205213
working-directory: ./lumis
206214
run: pnpm install --frozen-lockfile
207215

216+
- name: Create .env file
217+
working-directory: ./lumis/apps/web
218+
run: cp .env.example .env
219+
208220
- name: Install Linux build dependencies
209221
run: |
210222
sudo apt-get update

0 commit comments

Comments
 (0)