Internal: Changed from shadowing to new widget #79
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Social Media support for Plone CI | |
| on: | |
| push: | |
| paths: | |
| - "backend/**" | |
| - "frontend/**" | |
| - ".github/workflows/*.yml" | |
| - "devops/**" | |
| - "docs/**" | |
| workflow_dispatch: | |
| jobs: | |
| config: | |
| uses: ./.github/workflows/config.yml | |
| backend: | |
| uses: ./.github/workflows/backend.yml | |
| needs: | |
| - config | |
| with: | |
| base-tag: ${{ needs.config.outputs.base-tag }} | |
| image-name-prefix: ${{ needs.config.outputs.image-name-prefix }} | |
| image-name-suffix: backend | |
| python-version: ${{ needs.config.outputs.python-version }} | |
| plone-version: ${{ needs.config.outputs.plone-version }} | |
| if: ${{ needs.config.outputs.backend == 'true' }} | |
| permissions: | |
| contents: read | |
| packages: write | |
| docs: | |
| uses: ./.github/workflows/docs.yml | |
| needs: | |
| - config | |
| with: | |
| python-version: ${{ needs.config.outputs.python-version }} | |
| if: ${{ needs.config.outputs.docs == 'true' }} | |
| frontend: | |
| uses: ./.github/workflows/frontend.yml | |
| needs: | |
| - config | |
| with: | |
| base-tag: ${{ needs.config.outputs.base-tag }} | |
| image-name-prefix: ${{ needs.config.outputs.image-name-prefix }} | |
| image-name-suffix: frontend | |
| node-version: ${{ needs.config.outputs.node-version }} | |
| volto-version: ${{ needs.config.outputs.volto-version }} | |
| if: ${{ needs.config.outputs.frontend == 'true' }} | |
| permissions: | |
| contents: read | |
| packages: write | |
| report: | |
| name: "Final report" | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| needs: | |
| - config | |
| - backend | |
| - frontend | |
| - docs | |
| steps: | |
| - name: Write report | |
| run: | | |
| echo '# Workflow Report' >> $GITHUB_STEP_SUMMARY | |
| echo '| Job ID | Conclusion |' >> $GITHUB_STEP_SUMMARY | |
| echo '| --- | --- |' >> $GITHUB_STEP_SUMMARY | |
| echo '| config | ${{ needs.config.result }} |' >> $GITHUB_STEP_SUMMARY | |
| echo '| backend | ${{ needs.backend.result }} |' >> $GITHUB_STEP_SUMMARY | |
| echo '| docs | ${{ needs.docs.result }} |' >> $GITHUB_STEP_SUMMARY | |
| echo '| frontend | ${{ needs.frontend.result }} |' >> $GITHUB_STEP_SUMMARY |