Check deployed package #5
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: Check deployed package | |
| on: | |
| workflow_dispatch: | |
| workflow_run: | |
| workflows: ["Publish Package to packagist"] | |
| types: | |
| - completed | |
| branches: | |
| - main | |
| jobs: | |
| check-deployed-package: | |
| name: Check deployed package | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Wait for package to propagate to Packagist | |
| run: sleep 120 | |
| - name: Make run script executable | |
| run: chmod +x check-deployed-package/run.sh | |
| - name: Check deployed package | |
| env: | |
| LOGDASH_API_KEY: ${{ secrets.LOGDASH_API_KEY }} | |
| run: ./check-deployed-package/run.sh |