Skip to content

Commit

Permalink
use inline dir
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoVictor6 committed Apr 10, 2024
1 parent 809a5d3 commit 681bca4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
upgrade-project-version:
if: ${{ !contains(github.event.head_commit.message, '[RELEASE]') }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/web/
# defaults:
# run:
# working-directory: apps/web/
steps:
-
name: checkout
Expand All @@ -20,7 +20,7 @@ jobs:
name: Upgrade project version
id: upgrade-version-step
run: |
NEW_VERSION=$(npm version patch)
NEW_VERSION=$(cd apps/web/ && npm version patch)
NEW_VERSION_CLEAN=$(echo $NEW_VERSION | sed 's/v//' | grep -oP 'v\d+\.\d+\.\d+')
echo "Version clean is $NEW_VERSION_CLEAN"
echo API_VERSION=$NEW_VERSION_CLEAN >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 681bca4

Please sign in to comment.