From 5e72c3db45a85a81e41256407f16ba558574e4a0 Mon Sep 17 00:00:00 2001 From: cmclark00 Date: Tue, 15 Oct 2024 13:50:14 -0400 Subject: [PATCH] Create arm64mac.yml --- .github/workflows/arm64mac.yml | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/arm64mac.yml diff --git a/.github/workflows/arm64mac.yml b/.github/workflows/arm64mac.yml new file mode 100644 index 0000000..ae9d60f --- /dev/null +++ b/.github/workflows/arm64mac.yml @@ -0,0 +1,43 @@ +name: Build Retro-Imager for ARM64 Macs + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: Build on macOS ARM64 + runs-on: macos-13 + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install Dependencies + run: | + npm install + + - name: Build Retro-Imager + run: | + npm run build + + - name: Archive Build Artifacts + if: success() + run: | + mkdir -p build_artifacts + tar -czvf build_artifacts/retro-imager-arm64-mac.tar.gz dist/ + + - name: Upload Build Artifacts + uses: actions/upload-artifact@v3 + with: + name: retro-imager-arm64-mac + path: build_artifacts/retro-imager-arm64-mac.tar.gz \ No newline at end of file