-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (46 loc) · 1.42 KB
/
release-perform.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
name: Quarkiverse Perform Release
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
on:
push:
tags:
- '*'
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true
permissions:
attestations: write
id-token: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
perform-release:
name: Perform Release
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
secrets: inherit
with:
version: ${{github.event.inputs.tag || github.ref_name}}
java_version: 17
await-release-on-central:
needs: perform-release
runs-on: ubuntu-latest
name: Await artifacts on Maven Central
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.inputs.tag || github.ref_name}}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: 'maven'
- name: mvn install -DperformRelease
shell: bash
run: ./mvnw -B install -DperformRelease -Dmaven.javadoc.skip -Dmaven.source.skip -ntp
- name: Await ${{github.event.inputs.tag || github.ref_name}} on Maven Central
run: |
./mvnw org.l2x6.cq:cq-maven-plugin:4.14.2:await-release -Dcq.version=${{github.event.inputs.tag || github.ref_name}} -N