Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jul 26, 2024
1 parent 9e2416f commit 8eb6096
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@ jobs:

- name: Setup Melos
uses: bluefireteam/melos-action@v3

- name: Run melos fix
run: |
PACKAGES=""
if [[ "${{ github.event.inputs.mix_lint }}" == "true" ]]; then
PACKAGES+=" --scope=packages/mix_lint"
PACKAGES+=" --ignore=packages/mix_lint"
fi
if [[ "${{ github.event.inputs.mix_annotations }}" == "true" ]]; then
PACKAGES+=" --scope=packages/mix_annotations"
PACKAGES+=" --ignore=packages/mix_annotations"
fi
if [[ "${{ github.event.inputs.mix_generator }}" == "true" ]]; then
PACKAGES+=" --scope=packages/mix_generator"
PACKAGES+=" --ignore=packages/mix_generator"
fi
if [[ "${{ github.event.inputs.mix }}" == "true" ]]; then
PACKAGES+=" --scope=packages/mix"
PACKAGES+=" --ignore=packages/mix"
fi
if [[ "${{ github.event.inputs.remix }}" == "true" ]]; then
PACKAGES+=" --scope=packages/remix"
PACKAGES+=" --ignore=packages/remix"
fi
if [[ -n "$PACKAGES" ]]; then
Expand Down

0 comments on commit 8eb6096

Please sign in to comment.