Skip to content

Commit

Permalink
test old semver ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pierregee committed Aug 28, 2023
1 parent 08475cb commit 7bf16be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-semver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
with:
script: |
const semver = context.ref.replace('refs/tags/v', '')
console.log("The value is ${semver}");
console.log(`The value is ${semver}`);
console.log(`Ref: ${context.ref}`)
if (semver.match(/^[0-9]+\.[0-9]+\.[0-9]+$/)) {
return semver
}
Expand Down

0 comments on commit 7bf16be

Please sign in to comment.