Skip to content

Commit

Permalink
bump up 이 다음 스텝에 영향을 주는지 체크
Browse files Browse the repository at this point in the history
  • Loading branch information
young-do committed Aug 23, 2024
1 parent 33fffc8 commit f1f2e53
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/bump-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- feature/auto-tagging

jobs:
update-version:
Expand Down Expand Up @@ -37,3 +38,17 @@ jobs:
with:
tags: true
branch: ${{ github.ref }}

check-version:
needs: update-version
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 f1f2e53

Please sign in to comment.