Skip to content

Commit

Permalink
chore(repo): Do not build if no version changed (#2064)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosdouvlis authored Nov 7, 2023
1 parent 64d3763 commit 213546e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
run: npm run version:canary | tail -1 >> "$GITHUB_OUTPUT"

- name: Build release
run: npx turbo build $TURBO_ARGS --force # TODO: Remove --force, when appropriate
if: steps.version-packages.outputs.success == '1'
run: npx turbo build $TURBO_ARGS

- name: Canary release
if: steps.version-packages.outputs.success == '1'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
run: npm run version:snapshot ${{ steps.extract-snapshot-name.outputs.name }} | tail -1 >> "$GITHUB_OUTPUT"

- name: Build release
if: steps.version-packages.outputs.success == '1'
run: npx turbo build $TURBO_ARGS

- name: Snapshot release
Expand Down

0 comments on commit 213546e

Please sign in to comment.