forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (53 loc) · 1.53 KB
/
release-build.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
name: Quarkus Release Test Build
on:
schedule:
- cron: '0 3 * * *'
env:
LANG: en_US.UTF-8
jobs:
build:
name: "Prepare release"
runs-on: ubuntu-latest
if: github.repository == 'quarkusio/quarkus'
env:
MAVEN_OPTS: -Xmx2560m
JBANG_REPO: $HOME/release/repository
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Reclaim Disk Space
run: .github/ci-prerequisites.sh
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Create maven repo
run: mkdir -p $HOME/release/repository
- name: Build and Test
run: |
./mvnw --settings .github/mvn-settings.xml \
-B \
-Dscan=false \
-Dno-build-cache \
-Dgradle.cache.local.enabled=false \
-Dgradle.cache.remote.enabled=false \
-Prelease \
-DskipTests -DskipITs \
-Ddokka \
-Dno-test-modules \
-Dgpg.skip \
clean install
- name: Report
if: always()
shell: bash
run: |
curl -Ls https://sh.jbang.dev | bash -s - app setup
~/.jbang/bin/jbang .github/NativeBuildReport.java \
issueNumber=13058 \
runId=${{ github.run_id }} \
status=${{ job.status }} \
token=${{ secrets.GITHUB_API_TOKEN }} \
issueRepo=${{ github.repository }} \
thisRepo=${{ github.repository }}