Skip to content

Commit

Permalink
Create release on tags matching 3.*.*
Browse files Browse the repository at this point in the history
  • Loading branch information
nil4 committed Apr 25, 2024
1 parent 1d92f4a commit b0e4dff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build
on:
push:
tags:
- 'v3.*.*'
- '3.*.*'
paths-ignore:
- '.github/workflows/x-*.yml'
workflow_dispatch: # manually-triggered runs
Expand All @@ -26,8 +26,8 @@ jobs:
runs-on: macos-14

env: # use tag version, if available, falling back to 3.2.1 (stable)
OPENSSL_VERSION: "${{ startsWith(github.ref, 'refs/tags/v3') && github.ref_name || '3.2.1' }}"
PUBLISH_RELEASE: "${{ startsWith(github.ref, 'refs/tags/v3') && '1' || '0' }}"
OPENSSL_VERSION: "${{ startsWith(github.ref, 'refs/tags/3.') && github.ref_name || '3.2.1' }}"
PUBLISH_RELEASE: "${{ startsWith(github.ref, 'refs/tags/3.') && '1' || '0' }}"

steps:
- name: checkout
Expand Down

0 comments on commit b0e4dff

Please sign in to comment.