chore(deps): update dependency org.apache.maven.plugins:maven-surefir… #110
This file contains 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.3.4 | |
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@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
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 |