From 0143143a800717ad6a5a25b5780147270f641d3e Mon Sep 17 00:00:00 2001 From: pierregee Date: Mon, 28 Aug 2023 10:31:54 +0800 Subject: [PATCH] semver echo test --- .github/workflows/test-semver.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-semver.yaml b/.github/workflows/test-semver.yaml index 21bf0c8de..7223f5f87 100644 --- a/.github/workflows/test-semver.yaml +++ b/.github/workflows/test-semver.yaml @@ -22,8 +22,8 @@ jobs: with: script: | const semver = context.payload.release.tag_name; - echo "The value is ${{ context.ref.replace }}" - echo "The value is ${{ context.payload.release }}" + echo "The value is ${{ context.ref }}" + echo "The value is ${{ context.payload }}" if (semver.match(/^v[0-9]+\.[0-9]+\.[0-9]+$/) === null) { throw new Error( `Release Violation: Provided version '${semver}' is not valid semver.`