mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 18:56:56 +00:00
test: modify test workflow file
This commit is contained in:
parent
0db4cb61b2
commit
56568e2822
1 changed files with 8 additions and 1 deletions
9
.github/workflows/testRelease.yml
vendored
9
.github/workflows/testRelease.yml
vendored
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue