Skip to content

Commit 4ec8624

Browse files
committed
add degit tests
1 parent 0699576 commit 4ec8624

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,33 @@ jobs:
5454
distribution: ${{ env.JAVA_ZULU_DISTRIBUTION }}
5555
- run: ./mvnw clean --no-transfer-progress ; ./mvnw --no-transfer-progress
5656
- run: java -jar target/*.jar
57+
degit-zulu-24-tests:
58+
if: github.event.inputs.trigger == ''
59+
|| !startsWith(github.event.inputs.trigger, 'm')
60+
|| !startsWith(github.event.inputs.trigger, 'M')
61+
runs-on: ubuntu-latest
62+
steps:
63+
- uses: actions/checkout@v4
64+
- uses: actions/cache@v4
65+
id: java-cache
66+
with:
67+
path: |
68+
~/.m2/repository
69+
!~/.m2/repository/io/github/daggerok
70+
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml', '**/.mvn/**', '**/mvnw*') }}
71+
- uses: actions/setup-java@v4
72+
with:
73+
java-version: ${{ env.JAVA_VERSION }}
74+
distribution: ${{ env.JAVA_ZULU_DISTRIBUTION }}
75+
- uses: actions/setup-node@v6
76+
with:
77+
node-version: 'lts/*'
78+
- run: |
79+
cd /tmp
80+
npx --yes degit daggerok/maven-slf4j-main-starter-java-24 my-app && cd $_
81+
./mvnw clean --no-transfer-progress
82+
./mvnw --no-transfer-progress
83+
java -jar target/*.jar
5784
mvn-versions-display-updates:
5885
if: github.event.inputs.trigger == ''
5986
|| !startsWith(github.event.inputs.trigger, 'm')

0 commit comments

Comments
 (0)