|
1 | | -name: native-image-configure-examples |
| 1 | +name: archive/class-initialization-examples |
2 | 2 | on: |
3 | 3 | push: |
4 | 4 | paths: |
5 | | - - 'native-image-configure-examples/**' |
6 | | - - '.github/workflows/native-image-configure-examples.yml' |
| 5 | + - 'archive/class-initialization-examples/**' |
| 6 | + - '.github/workflows/archive-class-initialization-examples.yml' |
7 | 7 | pull_request: |
8 | 8 | paths: |
9 | | - - 'native-image-configure-examples/**' |
10 | | - - '.github/workflows/native-image-configure-examples.yml' |
11 | | - schedule: |
12 | | - - cron: "0 0 1 * *" # run every month |
| 9 | + - 'archive/class-initialization-examples/**' |
| 10 | + - '.github/workflows/archive-class-initialization-examples.yml' |
13 | 11 | workflow_dispatch: |
14 | 12 | permissions: |
15 | 13 | contents: read |
16 | 14 | jobs: |
17 | 15 | run: |
18 | | - name: Run 'native-image-configure-examples' |
| 16 | + name: Run 'archive/class-initialization-examples' |
19 | 17 | runs-on: ubuntu-latest |
20 | 18 | timeout-minutes: 15 |
21 | | - strategy: |
22 | | - matrix: |
23 | | - java-version: ['21', 'latest-ea'] |
24 | 19 | steps: |
25 | 20 | - uses: actions/checkout@v4 |
26 | 21 | - uses: graalvm/setup-graalvm@v1 |
27 | 22 | with: |
28 | | - java-version: ${{ matrix.java-version }} |
| 23 | + java-version: '21' |
29 | 24 | distribution: 'graalvm' |
30 | 25 | github-token: ${{ secrets.GITHUB_TOKEN }} |
31 | 26 | cache: 'maven' |
32 | 27 | - name: Run 'configure-at-runtime-example' |
33 | 28 | run: | |
34 | | - cd native-image-configure-examples/configure-at-runtime-example |
| 29 | + cd archive/class-initialization-examples/configure-at-runtime-example |
35 | 30 | mvn --no-transfer-progress package |
36 | 31 | ./target/runtime-example |
37 | 32 | - name: Run 'configure-at-buildtime-example' |
38 | 33 | run: | |
39 | | - cd native-image-configure-examples/configure-at-buildtime-example |
| 34 | + cd archive/class-initialization-examples/configure-at-buildtime-example |
40 | 35 | mvn --no-transfer-progress package |
41 | 36 | ./target/buildtime-example |
0 commit comments