[Kotlin] Allow other content-types when only interested in status-cod… #1
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: Samples Java Wiremock | |
on: | |
push: | |
paths: | |
- samples/server/petstore/java-wiremock/** | |
pull_request: | |
paths: | |
- samples/server/petstore/java-wiremock/** | |
jobs: | |
build: | |
name: Build Java Wiremock | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
- samples/server/petstore/java-wiremock | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Cache maven dependencies | |
uses: actions/cache@v4 | |
env: | |
cache-name: maven-repository | |
with: | |
path: | | |
~/.m2 | |
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | |
- name: Build | |
working-directory: ${{ matrix.sample }} | |
run: mvn clean package --no-transfer-progress |