Skip to content

Commit

Permalink
fix: correct env file copy command in MacOS build workflow to use .en…
Browse files Browse the repository at this point in the history
…v.example
  • Loading branch information
cheng zhen committed Jan 10, 2025
1 parent 8ae95fc commit 062d9d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- name: Copy and rename env file
run: |
cp .env.example dist/.env
ls -la dist/.env || (echo "ENV file not found!" && exit 1)
cat dist/.env | head -n 1 || (echo "Cannot read ENV file!" && exit 1)
cp .env.example dist/.env.example
ls -la dist/.env.example || (echo "ENV file not found!" && exit 1)
cat dist/.env.example | head -n 1 || (echo "Cannot read ENV file!" && exit 1)
- name: List dist directory contents
Expand All @@ -45,7 +45,6 @@ jobs:
name: CursorPro-MacOS-ARM64
path: |
dist/*
create-release:
needs: [build-macos-arm64]
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 062d9d9

Please sign in to comment.