chore(deps): bump maven-surefire-plugin from 3.1.0 to 3.1.2 (#280) #44
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/[email protected] | |
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@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Start deployment | |
env: | |
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} | |
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} | |
SPOONBOT_PARAPHRASE: ${{ secrets.SPOONBOT_PARAPHRASE }} | |
run: ./.buildscript/deploy_to_maven.sh |