Skip to content

Commit

Permalink
OpenAPI is now part of git repo
Browse files Browse the repository at this point in the history
Generation of code is part of maven build
  • Loading branch information
sfuhrm committed Nov 17, 2023
1 parent 1baa3bf commit 31250bc
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/maven-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,8 @@ on:

jobs:

extract-openapi:
uses: 1and1/checkmk-java-client/.github/workflows/extract-openapi.yaml@main
with:
cmk_version: 2.2.0p12
target_artifact: openapi

generate-code:
needs: extract-openapi
uses: 1and1/checkmk-java-client/.github/workflows/generate-code.yaml@main
with:
cmk_version: 2.2.0p12
source_artifact: openapi
target_artifact: source
snapshot: false

build:
runs-on: ubuntu-latest
needs: generate-code
outputs:
version: ${{ steps.version.outputs.version }}
md5sum: ${{ steps.md5sum.outputs.md5sum }}
Expand All @@ -42,16 +26,6 @@ jobs:
distribution: 'adopt'
java-version: 17

- name: Download source
uses: actions/download-artifact@v3
with:
name: source

- name: Download openapi
uses: actions/download-artifact@v3
with:
name: openapi

- name: Build with Maven
run: mvn -B package --file pom.xml

Expand Down

0 comments on commit 31250bc

Please sign in to comment.