Refactor readme #607
Workflow file for this run
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: Java PR build (gradle) | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-java: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Build java with Gradle | |
working-directory: other-examples/java | |
run: ./gradlew build | |
- name: Build getting-started-guides/java with Gradle | |
working-directory: getting-started-guides/java | |
run: ./gradlew build | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install markdown-link-check | |
# TODO(jack-berg): use latest when config file reading bug is fixed: https://github.com/tcort/markdown-link-check/issues/246 | |
run: npm install -g [email protected] | |
- name: Run markdown-link-check | |
run: | | |
find . -type f \ | |
-name '*.md' \ | |
| xargs .github/scripts/markdown-link-check-with-retry.sh |