|
1 |
| -name: multithreading-demo |
| 1 | +name: archive/multithreading-demo |
2 | 2 | on:
|
3 | 3 | push:
|
4 | 4 | paths:
|
5 |
| - - 'multithreading-demo/**' |
6 |
| - - '.github/workflows/multithreading-demo.yml' |
| 5 | + - 'archive/multithreading-demo/**' |
| 6 | + - '.github/workflows/archive-multithreading-demo.yml' |
7 | 7 | pull_request:
|
8 | 8 | paths:
|
9 |
| - - 'multithreading-demo/**' |
10 |
| - - '.github/workflows/multithreading-demo.yml' |
11 |
| - schedule: |
12 |
| - - cron: "0 0 1 * *" # run every month |
| 9 | + - 'archive/multithreading-demo/**' |
| 10 | + - '.github/workflows/archive-multithreading-demo.yml' |
13 | 11 | workflow_dispatch:
|
14 | 12 | permissions:
|
15 | 13 | contents: read
|
16 | 14 | jobs:
|
17 | 15 | run:
|
18 |
| - name: Run 'multithreading-demo' |
| 16 | + name: Run 'archive/multithreading-demo' |
19 | 17 | runs-on: ubuntu-latest
|
20 | 18 | timeout-minutes: 15
|
21 |
| - strategy: |
22 |
| - matrix: |
23 |
| - java-version: ['22', '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 'multithreading-demo-oversized'
|
33 | 28 | run: |
|
34 |
| - cd multithreading-demo/multithreading-demo-oversized |
| 29 | + cd archive/multithreading-demo/multithreading-demo-oversized |
35 | 30 | mvn --no-transfer-progress package
|
36 | 31 | java -jar target/multithreading-1.0-jar-with-dependencies.jar
|
37 | 32 | ./target/multithreading-image-oversized
|
38 | 33 | - name: Run 'multithreading-demo-improved'
|
39 | 34 | run: |
|
40 |
| - cd multithreading-demo/multithreading-demo-improved |
| 35 | + cd archive/multithreading-demo/multithreading-demo-improved |
41 | 36 | mvn --no-transfer-progress package
|
42 | 37 | java -jar target/multithreading-1.0-jar-with-dependencies.jar
|
43 | 38 | ./target/multithreading-image-improved
|
0 commit comments