We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49cd7a9 commit 5286c12Copy full SHA for 5286c12
check-project-version/action.yml
@@ -6,10 +6,10 @@ inputs:
6
default: ${{ github.workspace }}
7
expected-version:
8
description: >
9
- The expected version. By default, this is `github.ref_name`, which is the
10
- tag for a `release` event. If the version has a leading 'v', it will be
11
- stripped.
12
- default: ${{ github.ref_name }}
+ The expected version. By default, this is `github.event.release.tag_name`
+ for release events and `github.ref_name` otherwise. If the version has a
+ leading 'v', it will be stripped.
+ default: ${{ github.event_name == 'release' && github.event.release.tag_name || github.ref_name }}
13
runs:
14
using: composite
15
steps:
0 commit comments