Skip to content

Commit

Permalink
fix: Add -y to the correct publish place
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Nov 9, 2023
1 parent da63486 commit e2fae3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ runs:
if: ${{ inputs.publish == 'true' || inputs.publish-dry-run == 'true' }}
run: melos version --yes
shell: bash
- name: Run melos publish -y --dry-run
- name: Run melos publish dry run
if: ${{ inputs.publish-dry-run == 'true' }}
run: melos publish --dry-run
run: melos publish -y --dry-run
shell: bash
- name: Run melos publish -y --no-dry-run
- name: Run melos publish to pub.dev
if: ${{ inputs.publish == 'true' }}
run: melos publish --dry-run # Change to --no-dry-run once it is certain it works
run: melos publish -y --dry-run # Change to --no-dry-run once it is certain it works
shell: bash
- name: Create Pull Request with changes
if: ${{ inputs.publish == 'true' }}
Expand Down

0 comments on commit e2fae3a

Please sign in to comment.