Build and run web services example #157
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
# Do a full checkout, build, and example run to verify the steps documented at | |
# docs/src/site/markdown/render-ws.md and docs/src/site/markdown/render-ws-example.md actually work. | |
# This process takes roughly 10 minutes, so it is only triggered once a week (or manually) | |
# to catch any issues introduced by changes in external dependencies. | |
name: Build and run web services example | |
on: | |
# build and run the example each Friday at 5pm EST = 10pm UTC ( see https://crontab.guru/#0_22_*_*_5 ) | |
schedule: | |
- cron: '0 22 * * 5' | |
workflow_dispatch: | |
jobs: | |
build-and-run: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Build an all-inclusive fat Docker image for example run | |
run: docker build --tag render_example_1 - < render-ws-java-client/src/main/resources/example_1/Dockerfile | |
- name: Run example | |
run: docker run render_example_1 |