diff --git a/.github/workflows/graalvm.yml b/.github/workflows/graalvm.yml index 302ce5c..cea3921 100644 --- a/.github/workflows/graalvm.yml +++ b/.github/workflows/graalvm.yml @@ -17,18 +17,48 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - name: Setup GraalVM action + - name: GitHub Action for GraalVM # You may pin to the exact commit or the version. - # uses: ayltai/setup-graalvm@eb0db9af1ceb6dadb398847c7e23fc3afa09c0d3 - uses: ayltai/setup-graalvm@master + # uses: graalvm/setup-graalvm@b8dc5fccfbc65b21dd26e8341e7b21c86547f61b + uses: graalvm/setup-graalvm@v1 with: - # The JDK version to be installed with GraalVM. E.g. 8, 11. See https://github.com/graalvm/graalvm-ce-builds/releases - java-version: 11 # optional - # The version of GraalVM to make available on PATH. E.g. 20.1.0, 19.3.2. See https://github.com/graalvm/graalvm-ce-builds/releases - # Allineare la versione con pom.xml - graalvm-version: 21.3.0 - # Install GraalVM Native Image - native-image: true # optional + # Java version. See examples of supported syntax in the README file. + java-version: 17 + # GraalVM distribution. See the list of available distributions in the README file. + distribution: 'graalvm' # optional, default is + # Comma-separated list of GraalVM components to be installed. + # components: # optional, default is + # Set it to secrets.GITHUB_TOKEN to increase rate limits when accessing the GitHub API. Defaults to github.token. + # github-token: # optional, default is ${{ github.token }} + # Set $JAVA_HOME to the GraalVM installation. Default: true. + # set-java-home: # optional, default is true + # Name of the build platform to cache dependencies. It can be "maven", "gradle", or "sbt". + # cache: # optional + # Annotate jobs with update notifications, for example, when a new GraalVM release is available + # check-for-updates: # optional, default is true + # Set up musl for static image building with GraalVM Native Image. + # native-image-musl: # optional, default is false + # Post a job summary containing a Native Image build report. + # native-image-job-reports: # optional, default is false + # Post a comment containing a Native Image build report on pull requests. + # native-image-pr-reports: # optional, default is false + # GraalVM version (release, latest, dev). + # version: # optional, default is + # Download token for the GraalVM Download Service. If provided, the action will set up GraalVM Enterprise Edition. + # gds-token: # optional + +# - name: Setup GraalVM action +# # You may pin to the exact commit or the version. +# # uses: ayltai/setup-graalvm@eb0db9af1ceb6dadb398847c7e23fc3afa09c0d3 +# uses: ayltai/setup-graalvm@master +# with: +# # The JDK version to be installed with GraalVM. E.g. 8, 11. See https://github.com/graalvm/graalvm-ce-builds/releases +# java-version: 11 # optional +# # The version of GraalVM to make available on PATH. E.g. 20.1.0, 19.3.2. See https://github.com/graalvm/graalvm-ce-builds/releases +# # Allineare la versione con pom.xml +# graalvm-version: 21.3.0 +# # Install GraalVM Native Image +# native-image: true # optional - name: Checkout repository uses: actions/checkout@v4