Skip to content

Commit

Permalink
switch openapi publish to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes committed Sep 12, 2023
1 parent fa53194 commit d91846c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ jobs:
name: Build Folder
working_directory: .openapidoc
command: |
#
OA_GIT_USERNAME=$CIRCLE_USERNAME OA_GIT_EMAIL="${CIRCLE_USERNAME}@users.noreply.github.com" OA_GIT_URL=$CIRCLE_REPOSITORY_URL OA_GH_PAGES_BRANCH="gh-pages" node publish.js
- notify
- save_cache:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "OpenAPI"

on:
push:
branches: [ master, "release-*", "openapi" ]

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17

- name: Assemble
run: ./gradlew --no-daemon --parallel clean compileJava compileTestJava compileJmhJava compileIntegrationTestJava compileAcceptanceTestJava compilePropertyTestJava assemble

0 comments on commit d91846c

Please sign in to comment.