fix: correct env file copy command in MacOS build workflow to use .env.example
This commit is contained in:
7
.github/workflows/build.mac.yml
vendored
7
.github/workflows/build.mac.yml
vendored
@@ -31,9 +31,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy and rename env file
|
- name: Copy and rename env file
|
||||||
run: |
|
run: |
|
||||||
cp .env.example dist/.env
|
cp .env.example dist/.env.example
|
||||||
ls -la dist/.env || (echo "ENV file not found!" && exit 1)
|
ls -la dist/.env.example || (echo "ENV file not found!" && exit 1)
|
||||||
cat dist/.env | head -n 1 || (echo "Cannot read ENV file!" && exit 1)
|
cat dist/.env.example | head -n 1 || (echo "Cannot read ENV file!" && exit 1)
|
||||||
|
|
||||||
|
|
||||||
- name: List dist directory contents
|
- name: List dist directory contents
|
||||||
@@ -45,7 +45,6 @@ jobs:
|
|||||||
name: CursorPro-MacOS-ARM64
|
name: CursorPro-MacOS-ARM64
|
||||||
path: |
|
path: |
|
||||||
dist/*
|
dist/*
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
needs: [build-macos-arm64]
|
needs: [build-macos-arm64]
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
Reference in New Issue
Block a user