forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (49 loc) · 1.4 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
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 11
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Create maven repo
run: mkdir -p $HOME/release/repository
- name: Build and Test
run: |
./mvnw --settings .github/mvn-settings.xml \
-B \
-Prelease \
-DskipTests -DskipITs \
-Ddokka \
-Dmaven.repo.local=$HOME/release/repository \
-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 }}