Skip to content

Update CI workflow to not run monthly; Remove demo entry from top-lev… #7

Update CI workflow to not run monthly; Remove demo entry from top-lev…

Update CI workflow to not run monthly; Remove demo entry from top-lev… #7

name: native-image/optimize-memory
on:
push:
paths:
- 'native-image/optimize-memory/**'
- '.github/workflows/native-image-optimize-memory.yml'
pull_request:
paths:
- 'native-image/optimize-memory/**'
- '.github/workflows/native-image-optimize-memory.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-image/optimize-memory'
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
java-version: ['21', '24-ea']
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Run 'native-image/optimize-memory'
run: |
cd native-image/optimize-memory
./run.sh