From fc432604e8f1ed6d3ea7932aba7a3afdd0f2af34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=B6rfelt?= Date: Sun, 24 Nov 2024 14:52:58 +0100 Subject: [PATCH] build "macos-13" executable only at release --- .github/workflows/build.yml | 8 ++++++++ .github/workflows/lint.yml | 2 ++ .github/workflows/tests.yml | 2 ++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3f144a..34616a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,8 @@ on: paths-ignore: - "**.md" pull_request: + paths-ignore: + - "**.md" workflow_dispatch: jobs: @@ -22,6 +24,12 @@ jobs: # "macos-latest" is ARM based # "macos-13" is Intel based os: ["windows-latest", "ubuntu-latest", "macos-latest", "macos-13"] + # build "macos-13" executable only at release + # https://github.com/orgs/community/discussions/26253?sort=top#discussioncomment-3250989 + is_release: ${{ startsWith(github.ref, 'refs/tags/v') }} + exclude: + - is_release: false + os: "macos-13" steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d4d7cf3..f86e0a8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,6 +5,8 @@ on: paths-ignore: - "**.md" pull_request: + paths-ignore: + - "**.md" workflow_dispatch: jobs: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b3a9d21..6b6e982 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,6 +5,8 @@ on: paths-ignore: - "**.md" pull_request: + paths-ignore: + - "**.md" workflow_dispatch: jobs: