Skip to content

Bump org.kohsuke:github-api from 1.317 to 1.326 (#328) #599

Bump org.kohsuke:github-api from 1.317 to 1.326 (#328)

Bump org.kohsuke:github-api from 1.317 to 1.326 (#328) #599

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
paths-ignore:
- 'README.adoc'
pull_request:
branches: [ master ]
paths-ignore:
- 'README.adoc'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build artifacts
run: ./gradlew clean build
- name: Unit tests report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Junit Tests
path: "build/test-results/test/*.xml"
reporter: java-junit
- name: Publish artifacts
run: ./gradlew bootBuildImage --publishImage
if: github.event_name != 'pull_request'
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
- name: Run integration tests
run: ./gradlew integrationTest
if: github.event_name != 'pull_request'
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_REPO: ${{ secrets.GH_REPO }}