From 0d2bd2158e3f88ecb84827b7787184f4c9205028 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62367544+tilucasoli@users.noreply.github.com> Date: Fri, 26 Jul 2024 12:56:33 -0300 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bbffb0ef0..9f7d87ffc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,29 +52,29 @@ jobs: - name: Setup Melos uses: bluefireteam/melos-action@v3 - + - name: Run melos fix run: | PACKAGES="" - if [[ "${{ github.event.inputs.mix_lint }}" == "false" ]]; then - PACKAGES+=" --ignore=packages/mix_lint" + if [[ "${{ github.event.inputs.mix_lint }}" == "true" ]]; then + PACKAGES+=" --scope=packages/mix_lint" fi - if [[ "${{ github.event.inputs.mix_annotations }}" == "false" ]]; then - PACKAGES+=" --ignore=packages/mix_annotations" + if [[ "${{ github.event.inputs.mix_annotations }}" == "true" ]]; then + PACKAGES+=" --scope=packages/mix_annotations" fi - if [[ "${{ github.event.inputs.mix_generator }}" == "false" ]]; then - PACKAGES+=" --ignore=packages/mix_generator" + if [[ "${{ github.event.inputs.mix_generator }}" == "true" ]]; then + PACKAGES+=" --scope=packages/mix_generator" fi - if [[ "${{ github.event.inputs.mix }}" == "false" ]]; then - PACKAGES+=" --ignore=packages/mix" + if [[ "${{ github.event.inputs.mix }}" == "true" ]]; then + PACKAGES+=" --scope=packages/mix" fi - if [[ "${{ github.event.inputs.remix }}" == "false" ]]; then - PACKAGES+=" --ignore=packages/remix" + if [[ "${{ github.event.inputs.remix }}" == "true" ]]; then + PACKAGES+=" --scope=packages/remix" fi if [[ -n "$PACKAGES" ]]; then echo "$PACKAGES" - melos publish --dry-run --yes --no-private "$PACKAGES" + melos publish --dry-run --yes "$PACKAGES" else echo "No packages selected for publishing" fi