From c625ea30f2c8556d0a2d4718ba6743291da139f3 Mon Sep 17 00:00:00 2001 From: Woen-Sug Choi Date: Mon, 17 Jun 2024 17:33:32 +0900 Subject: [PATCH] workflow fix --- .github/workflows/build.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a9383b..92e1b71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,20 +1,19 @@ -name: Build +name: Build on macOS +on: push -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - workflow_dispatch: +# Run locally with +# brew install act +# act -P macos-latest=-self-hosted jobs: - build: - # runs-on: macos-latest - runs-on: dockurr/macos - env: - VERSION: "ventura" - steps: - - uses: actions/checkout@v3 - - - name: Run install script - run: yes | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/main/install.sh)" \ No newline at end of file + build: + runs-on: macos-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Install GitHub CLI + run: | + brew update + brew install gh curl + - name: Run install script + run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/main/install.sh)" -- -a \ No newline at end of file