From bc5b916d10048bbf6b10b2310a8011f3e38b4bcf Mon Sep 17 00:00:00 2001 From: PeterCJ Date: Wed, 17 Jan 2024 11:58:13 -0800 Subject: [PATCH] printed update to @v4 use ${{ github.ref_name }] --- .github/workflows/OnTag.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/OnTag.yml b/.github/workflows/OnTag.yml index 5471e1a..747b978 100644 --- a/.github/workflows/OnTag.yml +++ b/.github/workflows/OnTag.yml @@ -19,12 +19,12 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Show meta-info run: | - echo github event: ${{ toJson(github) }} - echo head message: ${{ github.event.head_commit.message }} - # echo ref name : ${{ github.event.ref_name }} - git tag + # github event: ${{ toJson(github) }} + # head message: ${{ github.event.head_commit.message }} + # ref name : ${{ github.ref_name }} + git tag -l ${{ github.ref_name }} # end