forked from netzbegruenung/keycloak-mfa-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 874 Bytes
/
build.yml
File metadata and controls
34 lines (31 loc) · 874 Bytes
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
name: Reusable build workflow
on: workflow_call
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B install --file pom.xml
- run: |
mkdir staging
cp sms-authenticator/target/*.jar staging
cp app-authenticator/target/*.jar staging
cp enforce-mfa/target/*.jar staging
- name: Create hash files
run: |
for jar in *.jar
do
sha512sum $jar | awk '{ print $1 }' > "${jar}.sha512"
done
working-directory: staging
- uses: actions/upload-artifact@v6
with:
name: packages
path: staging