Skip to content

Commit

Permalink
build "macos-13" executable only at release
Browse files Browse the repository at this point in the history
  • Loading branch information
marph91 committed Nov 24, 2024
1 parent c9069ab commit c3b11fb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
workflow_dispatch:

jobs:
Expand All @@ -22,6 +24,13 @@ 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:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
workflow_dispatch:

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
workflow_dispatch:

jobs:
Expand Down

0 comments on commit c3b11fb

Please sign in to comment.