Upgrade all demos and guides to 24.1.1
.
#9
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: Test GraalJS Starter | |
on: | |
push: | |
paths: | |
- 'graaljs/graaljs-starter/**' | |
- '.github/workflows/graaljs-starter.yml' | |
pull_request: | |
paths: | |
- 'graaljs/graaljs-starter/**' | |
- '.github/workflows/graaljs-starter.yml' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
run: | |
name: 'graaljs-starter' | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '23.0.1' | |
distribution: 'graalvm' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
cache: 'maven' | |
native-image-job-reports: 'true' | |
- name: Build, test, and run 'graaljs-starter' using Maven | |
run: | | |
cd graaljs/graaljs-starter | |
./mvnw --no-transfer-progress test | |
./mvnw --no-transfer-progress exec:java | |
- name: Build, test, and run 'graaljs-starter' using Gradle | |
run: | | |
cd graaljs/graaljs-starter | |
./gradlew test | |
./gradlew run |