forked from quarkus-qe/quarkus-test-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.61 KB
/
build-quarkus.yml
File metadata and controls
42 lines (42 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "Build Quarkus SNAPSHOT"
on:
workflow_dispatch:
schedule:
- cron: '20 0 * * *'
jobs:
build-quarkus:
name: Build Quarkus
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 17 ]
steps:
- uses: actions/checkout@v6
- name: Reclaim Disk Space
run: .github/ci-prerequisites.sh
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
check-latest: true
- name: Initialize Repository Path
run: |
# Save local repo to GH ENV to ensure that it's the same in all steps
mkdir -p maven-repository
echo "LOCAL_REPO=$(pwd)/maven-repository" >> $GITHUB_ENV
- name: Build Quarkus 999-SNAPSHOT
run: |
git clone https://github.com/quarkusio/quarkus.git && cd quarkus && ./mvnw -B --no-transfer-progress -s .github/mvn-settings.xml clean install -Dquickly -Dno-test-modules -Prelocations -Dmaven.repo.local=${{ env.LOCAL_REPO }}
- name: Build Quarkus Platform 999-SNAPSHOT
run: |
LOCAL_REPO="$(pwd)/maven-repository"
git clone https://github.com/quarkusio/quarkus-platform.git && cd quarkus-platform && ./mvnw install -Dquarkus.version=999-SNAPSHOT -DskipTests -DskipITs -Dmaven.repo.local=${{ env.LOCAL_REPO }}
- name: Cache Build Outputs
uses: actions/cache/save@v5
with:
# Keep same path ./action/cache-quarkus/action
path: |
maven-repository
key: quarkus-daily-build-${{ github.run_id }}