Skip to content

Commit

Permalink
Fix CI (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbelmiro authored Nov 10, 2023
1 parent 95e8c84 commit bf1e894
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ jobs:
run: mvn '-Dorg.slf4j.simpleLogger.log.org.openapitools=off' -B formatter:validate impsort:check verify --file pom.xml

- name: Store PR id
if: github.event_name == 'pull_request'
run: |
echo ${{ github.event.number }} > ./docs/target/generated-docs/pr-id.txt
- name: Publishing directory for PR preview
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v3
with:
name: site
Expand Down Expand Up @@ -86,12 +88,14 @@ jobs:
run: mvn -Presteasy-reactive '-Dorg.slf4j.simpleLogger.log.org.openapitools=off' -B formatter:validate impsort:check verify --file pom.xml

- name: Store PR id
if: github.event_name == 'pull_request'
run: |
echo ${{ github.event.number }} > ./docs/target/generated-docs/pr-id.txt
- name: Publishing directory for PR preview
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v3
with:
name: site
path: ./docs/target/generated-docs
retention-days: 3
retention-days: 3

0 comments on commit bf1e894

Please sign in to comment.