Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Commit 062d9d9

Browse files
author
cheng zhen
committed
fix: correct env file copy command in MacOS build workflow to use .env.example
1 parent 8ae95fc commit 062d9d9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: .github/workflows/build.mac.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
3232
- name: Copy and rename env file
3333
run: |
34-
cp .env.example dist/.env
35-
ls -la dist/.env || (echo "ENV file not found!" && exit 1)
36-
cat dist/.env | head -n 1 || (echo "Cannot read ENV file!" && exit 1)
34+
cp .env.example dist/.env.example
35+
ls -la dist/.env.example || (echo "ENV file not found!" && exit 1)
36+
cat dist/.env.example | head -n 1 || (echo "Cannot read ENV file!" && exit 1)
3737
3838
3939
- name: List dist directory contents
@@ -45,7 +45,6 @@ jobs:
4545
name: CursorPro-MacOS-ARM64
4646
path: |
4747
dist/*
48-
4948
create-release:
5049
needs: [build-macos-arm64]
5150
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)