Skip to content

Commit

Permalink
Test run
Browse files Browse the repository at this point in the history
  • Loading branch information
jessehouwing committed Oct 30, 2023
1 parent bb4e7a1 commit 6c44787
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/action-semver-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ jobs:
fetch-depth: 0

- uses: jessehouwing/actions-semver-checker@features/confgurableminor
with:
check-minor-version: true

- uses: jessehouwing/actions-semver-checker@features/confgurableminor
with:
check-minor-version: false
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ branding:
icon: 'check-circle'
color: 'orange'
inputs:
check_minor_version:
check-minor-version:
description: "Configures warnings for minor versions (options: [true, false], default: true)."
required: false
default: "true"
Expand Down
2 changes: 1 addition & 1 deletion main.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$global:returnCode = 0

$warnMinor = $env:INPUT_CHECK_MINOR_VERSION -eq "true"
$warnMinor = $env["INPUT_CHECK-MINOR-VERSION"] -eq "true"

$tags = & git tag -l v* | Where-Object{ return ($_ -match "v\d+(.\d+)*$") }

Expand Down

0 comments on commit 6c44787

Please sign in to comment.