继续测试event的release事件对象

This commit is contained in:
soul-walker 2024-03-25 15:08:34 +08:00
parent 585c32ac0d
commit 319592dd19
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ jobs:
steps: steps:
- name: 测试release触发及一些参数 - name: 测试release触发及一些参数
run: | run: |
echo "event: author is ${{ github.event.author }}, isLatest is ${{ github.event.release.prerelease }}" echo "event: author is ${{ github.event.release.author.name }}, isLatest is ${{ github.event.release.isLatest }}, isPrerelease is ${{ github.event.release.prerelease }}"
echo "event: name is ${{ github.event.release.name }}, tag is ${{ github.event.release.tag }}, tagName is ${{ github.event.release.tag_name }}"
echo "event_name: ${{ github.event_name }}" echo "event_name: ${{ github.event_name }}"
echo "ref: ${{ github.ref }}" echo "ref: ${{ github.ref }}"
- name: 检出代码 - name: 检出代码