From 7e699cba4d9e3c78d5565757db76ce2c0d398c23 Mon Sep 17 00:00:00 2001 From: Alpaca-zip <84959376+Alpaca-zip@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:39:32 +0900 Subject: [PATCH 1/2] Update build-check-bot.yml --- .github/workflows/build-check-bot.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-check-bot.yml b/.github/workflows/build-check-bot.yml index a081912..7b6fa9c 100644 --- a/.github/workflows/build-check-bot.yml +++ b/.github/workflows/build-check-bot.yml @@ -1,9 +1,7 @@ name: Ubuntu-latest Build Check on: - push: - branches: - - main + pull_request: jobs: build: @@ -11,6 +9,8 @@ jobs: steps: - name: checkout uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} - name: Set up Python 3.x uses: actions/setup-python@v4 with: @@ -18,6 +18,6 @@ jobs: - name: install dependencies run: | python -m pip install --upgrade pip - pip install matplotlib numpy + sudo apt-get install -y python3-matplotlib python3-numpy python3-dev - name: Build run: bash build.sh From 0a7e1f024d750fa8c3c009dffa5a26d1279e0da5 Mon Sep 17 00:00:00 2001 From: Alpaca-zip <84959376+Alpaca-zip@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:43:50 +0900 Subject: [PATCH 2/2] Update build-check-bot.yml --- .github/workflows/build-check-bot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-check-bot.yml b/.github/workflows/build-check-bot.yml index 7b6fa9c..63fb4b7 100644 --- a/.github/workflows/build-check-bot.yml +++ b/.github/workflows/build-check-bot.yml @@ -1,7 +1,9 @@ name: Ubuntu-latest Build Check on: - pull_request: + push: + branches: + - main jobs: build: @@ -9,8 +11,6 @@ jobs: steps: - name: checkout uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} - name: Set up Python 3.x uses: actions/setup-python@v4 with: