Skip to content

Merge pull request #105 from SMI/dependabot/maven/org.apache.logging.… #356

Merge pull request #105 from SMI/dependabot/maven/org.apache.logging.…

Merge pull request #105 from SMI/dependabot/maven/org.apache.logging.… #356

Workflow file for this run

name: main
on:
push:
branches: "*"
tags: "*"
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set-up JDK
uses: actions/setup-java@v2
with:
java-version: "8"
distribution: "temurin"
cache: maven
- name: build all
run: ./scripts/build/run-all.bash
- name: compile, run basic test, and install
run: mvn -B -ntp install
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: set-up JDK
uses: actions/setup-java@v2
with:
java-version: "8"
distribution: "temurin"
cache: maven
- name: compile and run integration tests
run: mvn -f integration/pom.xml -B -ntp test
deploy:
needs: test
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: check pom version set to tag
run: ./.github/workflows/check-tag-pom-version-match.py
- name: set-up JDK
uses: actions/setup-java@v2
with:
java-version: "8"
distribution: "temurin"
cache: maven
- name: deploy
run: .github/workflows/deploy-file.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}