Skip to content

Commit

Permalink
tag 생성 감지 테스트 #minor
Browse files Browse the repository at this point in the history
  • Loading branch information
young-do committed Aug 23, 2024
1 parent f1f2e53 commit 2d4707f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/detect-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Detect tag
on:
create:

jobs:
check-version:
if: github.event.ref_type == 'tag'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Get version
id: get_version
run: |
version=$(npm version)
echo "Current version: $version"
echo "##[set-output name=version;]$version"

0 comments on commit 2d4707f

Please sign in to comment.