From 56568e28221f548466cf63c88b52864b0a50c022 Mon Sep 17 00:00:00 2001 From: cycjimmy Date: Mon, 28 Oct 2019 14:46:23 +0800 Subject: [PATCH] test: modify test workflow file --- .github/workflows/testRelease.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testRelease.yml b/.github/workflows/testRelease.yml index 0bf3620..b5de3b6 100644 --- a/.github/workflows/testRelease.yml +++ b/.github/workflows/testRelease.yml @@ -6,7 +6,7 @@ on: - master schedule: - - cron: 0 2 * * * + - cron: 0 2 * * 0 jobs: test: @@ -27,4 +27,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Test Outputs + if: steps.semantic.outputs.new_release_published == 'true' + run: | + echo ${{ steps.semantic.outputs.new_release_version }} + echo ${{ steps.semantic.outputs.new_release_major_version }} + echo ${{ steps.semantic.outputs.new_release_minor_version }} + echo ${{ steps.semantic.outputs.new_release_patch_version }}