-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (48 loc) · 1.31 KB
/
releases.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: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Maven Action
uses: s4u/[email protected]
with:
java-version: 17
maven-version: 3.9.9
- name: Build jar
run: mvn clean package
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: target-keycloak-phonenumber-login
path: target/keycloak-phonenumber-login-*.jar
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Build Artifacts
uses: actions/download-artifact@v4
with:
name: target-keycloak-phonenumber-login
# Upload as an artifact of the current workflow
- name: Upload build zip artifact
uses: actions/upload-artifact@v4
with:
name: Release artifacts
path: '*.jar'
# Make official GitHub release which will trigger
# sending the mail with link for access
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: '*.jar'
draft: false
prerelease: false
allowUpdates: true
bodyFile: CHANGELOG.md
tag: v26.0.7