Skip to content

Bump org.apache.maven.plugins:maven-install-plugin from 3.1.2 to 3.1.3 #391

Bump org.apache.maven.plugins:maven-install-plugin from 3.1.2 to 3.1.3

Bump org.apache.maven.plugins:maven-install-plugin from 3.1.2 to 3.1.3 #391

Workflow file for this run

name: Sandbox Code Batch Updater CI
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
repository_dispatch:
types: [ 'template-code-changes' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn --show-version --batch-mode verify
update-sandboxes:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up Git config
run: |
git config --global user.name "Sandbox 🤖"
git config --global user.email ${{ secrets.EMAIL }}
- name: Clone neo4j-graph-examples/template repo
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
run: |
git clone https://$GITHUB_TOKEN@github.com/neo4j-graph-examples/template/
- name: Run updater against sandboxes
env:
GITHUB_USERNAME: ${{ secrets.USERNAME }}
GITHUB_TOKEN: ${{ secrets.TOKEN }}
SANDBOX_CODE_SAMPLES_PATH: ${{ github.workspace }}/template
# the workflow has been triggered either by an event dispatch (DISPATCH_CONTEXT) or a regular commit (COMMIT)
CONTEXT_DISPATCH: ${{ toJson(github.event.client_payload) }}
CONTEXT_COMMIT: ${{ github.sha }}
run: >
mvn --show-version --batch-mode spring-boot:run -Dspring-boot.run.arguments=--logging.level.com.neo4j=TRACE