From 7fb05cc37b7f5e4cc46578163fc9e870b1524f09 Mon Sep 17 00:00:00 2001 From: Joel-David Date: Tue, 23 Jul 2024 22:31:51 +0800 Subject: [PATCH] added environment --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9b9463..d684187 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,14 @@ on: pull_request: branches: - main + push: + branches: + - main jobs: run_tests: runs-on: macos-14 + environment: ${{ github.event_name == 'push' && 'default' || 'ci-macos' }} strategy: matrix: include: