Skip to content

Commit 52336d9

Browse files
committed
fix: correct native:build command syntax for architecture
- Remove incorrect --x64/--arm64 flags - Use architecture as positional argument in native:build command
1 parent 1eb21aa commit 52336d9

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,8 @@ jobs:
113113
NATIVEPHP_APPLE_TEAM_ID: ${{ secrets.NATIVEPHP_APPLE_TEAM_ID }}
114114
NATIVEPHP_APP_VERSION: ${{ steps.version.outputs.VERSION }}
115115
run: |
116-
# Set architecture-specific build
117-
if [ "${{ matrix.arch }}" == "x64" ]; then
118-
export NATIVEPHP_ARCH="--x64"
119-
else
120-
export NATIVEPHP_ARCH="--arm64"
121-
fi
122-
123-
# Build the app
124-
php artisan native:build mac $NATIVEPHP_ARCH
116+
# Build the app with the correct architecture
117+
php artisan native:build mac ${{ matrix.arch }}
125118
126119
- name: Upload artifacts
127120
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)