Skip to content

Commit

Permalink
fix: wrong conditional for a releaserc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Jun 7, 2022
1 parent 1594eff commit 40184cb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/service-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,8 @@ jobs:
npmPlugin: true,
})
- name: Debug | Print .releaserc.json
if: inputs.autoVersioning == true && inputs.debug == true
run: cat .releaserc.json

- name: Docs | releaserc.json
if: steps.node_setup.outputs.has_dockerfile == 'false'
if: inputs.autoVersioning == true && steps.node_setup.outputs.has_releaserc == 'false'
run: |
echo "releaserc.json: \`${{ steps.releaserc-creation.outcome }}\`" >> $GITHUB_STEP_SUMMARY
echo -e "<details><summary>releaserc.json</summary>\n\n\`\`\`json \n$(cat ./releaserc.json)\n \`\`\`\n </details>\n\n" >> $GITHUB_STEP_SUMMARY
Expand Down Expand Up @@ -459,7 +455,7 @@ jobs:
})
- name: Docs | releaserc.json
if: steps.node_setup.outputs.has_dockerfile == 'false'
if: inputs.autoVersioning == true && steps.node_setup.outputs.has_releaserc == 'false'
run: |
echo "releaserc.json: \`${{ steps.releaserc-creation.outcome }}\`" >> $GITHUB_STEP_SUMMARY
echo -e "<details><summary>releaserc.json</summary>\n\n\`\`\`json \n$(cat ./releaserc.json)\n \`\`\`\n </details>\n\n" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 40184cb

Please sign in to comment.