From ebb3338e2552d2901b884f128e351d8f00c9e93c Mon Sep 17 00:00:00 2001 From: cmclark00 <116466213+cmclark00@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:02:06 -0400 Subject: [PATCH] Update build-arm64-mac.yml --- .github/workflows/build-arm64-mac.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-arm64-mac.yml b/.github/workflows/build-arm64-mac.yml index 1b6f66a..2f8c952 100644 --- a/.github/workflows/build-arm64-mac.yml +++ b/.github/workflows/build-arm64-mac.yml @@ -17,24 +17,22 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install Dependencies + - name: Install Dependencies (example) run: | - npm install + brew install cmake # Replace with actual dependencies if needed - - name: Build Retro-Imager + - name: Configure and Build Retro-Imager run: | - npm run build + mkdir -p build + cd build + cmake .. + make - name: Archive Build Artifacts if: success() run: | mkdir -p build_artifacts - tar -czvf build_artifacts/retro-imager-arm64-mac.tar.gz dist/ + tar -czvf build_artifacts/retro-imager-arm64-mac.tar.gz build/ - name: Upload Build Artifacts uses: actions/upload-artifact@v3