fix(ocpi-2.2.1): Add Content-Type header on requests (if needed), on all responses & fixed headers case sensitivity #51
Workflow file for this run
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: OCPI CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "**" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
concurrency: ocpi-ci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Checkout IZIVIA OCPI toolkit library code from GH | |
uses: actions/checkout@v3 | |
- name: Publish annotation processor to maven local | |
uses: gradle/gradle-build-action@v2.8.1 | |
with: | |
gradle-version: wrapper | |
arguments: :annotation-processor:publishToMavenLocal | |
cache-read-only: ${{ github.ref != 'refs/heads/develop' && github.ref != 'refs/heads/main' }} | |
- name: Build OCPI toolkit | |
uses: gradle/gradle-build-action@v2.8.1 | |
with: | |
gradle-version: wrapper | |
arguments: build | |
cache-read-only: ${{ github.ref != 'refs/heads/develop' && github.ref != 'refs/heads/main' }} |