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 fc43260
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 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,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:
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 fc43260

Please sign in to comment.