Skip to content

Review and update Polyglot Chat README #99

Review and update Polyglot Chat README

Review and update Polyglot Chat README #99

name: polyglot-chat-app
on:
push:
paths:
- 'polyglot-chat-app/**'
- '.github/workflows/polyglot-chat-app.yml'
pull_request:
paths:
- 'polyglot-chat-app/**'
- '.github/workflows/polyglot-chat-app.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'polyglot-chat-app'
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
java-version: ['21']
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'gradle'
- name: Run 'polyglot-chat-app'
run: |
cd polyglot-chat-app
./gradlew build # pre-build application
./gradlew run &
sleep 10
curl http:https://localhost:12345/