5
0
Fork 0
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:
cycjimmy 2019-10-28 14:46:23 +08:00
parent 0db4cb61b2
commit 56568e2822

View file

@ -6,7 +6,7 @@ on:
- master - master
schedule: schedule:
- cron: 0 2 * * * - cron: 0 2 * * 0
jobs: jobs:
test: test:
@ -27,4 +27,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_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 }}