Skip to content

Commit 5546809

Browse files
authored
Create .env file in workflow
Add step to create .env file from secrets.
1 parent 4c81177 commit 5546809

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
1919

20+
- name: Create .env file
21+
run: echo "${{ secrets.ENV_FILE }}" > .env
22+
2023
# 2. Set up Java for Android build
2124
- name: Set up Java
2225
uses: actions/setup-java@v4
@@ -62,4 +65,4 @@ jobs:
6265
uses: actions/upload-artifact@v4
6366
with:
6467
name: release-ios
65-
path: build/ios/iphoneos/Runner.app
68+
path: build/ios/iphoneos/Runner.app

0 commit comments

Comments
 (0)