Daily Build #152
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: Daily Build | |
| on: | |
| schedule: | |
| - cron: '30 13 * * *' | |
| jobs: | |
| Build: | |
| uses: ./.github/workflows/build.yml | |
| secrets: inherit | |
| with: | |
| bi: true | |
| mi: true | |
| runTests: true | |
| runMIE2ETests: true | |
| NotifySuccess: | |
| name: Notify | |
| needs: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Restore build | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: ExtBuild | |
| path: ./ | |
| - name: Set up workspace | |
| run: | | |
| unzip build.zip | |
| rm build.zip | |
| - name: Notification - Ballerina | |
| uses: ./.github/actions/dailyBuildNotification | |
| with: | |
| title: Ballerina | |
| fileName: ballerina | |
| chatAPI: ${{ secrets.BI_TEAM_CHAT_API }} | |
| - name: Notification - MI | |
| uses: ./.github/actions/dailyBuildNotification | |
| with: | |
| title: "WSO2 Integrator: MI" | |
| fileName: micro-integrator | |
| chatAPI: ${{ secrets.MI_TEAM_CHAT_API }} | |
| NotifyFailure: | |
| needs: Build | |
| if: ${{ always() && contains(needs.*.result, 'failure') && github.repository == 'wso2/vscode-extensions'}} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: "Failure Notification" | |
| uses: ./.github/actions/failure-notification | |
| with: | |
| title: "Daily Build Failed" | |
| run_id: ${{ github.run_id }} | |
| chat_api: ${{ secrets.TOOLING_TEAM_CHAT_API }} | |
| repository: ${{ github.repository }} |