chore(deps): update lewagon/wait-on-check-action action to v1.5.0 (#390) #164
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: Publish latest build | |
| on: | |
| push: | |
| branches: [master] | |
| jobs: | |
| deploy: | |
| if: ${{ github.repository == 'SpoonLabs/gumtree-spoon-ast-diff' }} | |
| name: 'Publish package' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Wait for tests to pass | |
| uses: lewagon/wait-on-check-action@v1.5.0 | |
| with: | |
| ref: ${{ github.ref }} | |
| # Must be same as this job's name | |
| # Reference: https://github.com/lewagon/wait-on-check-action#running-workflow-name | |
| running-workflow-name: 'Publish package' | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'adopt' | |
| java-version: 17 | |
| - name: Start deployment | |
| env: | |
| CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} | |
| CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} | |
| SPOONBOT_PARAPHRASE: ${{ secrets.SPOONBOT_PARAPHRASE }} | |
| GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} | |
| run: ./.buildscript/deploy_to_maven.sh |