-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (38 loc) · 1.02 KB
/
main.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
name: Assembly and release
on:
workflow_call:
secrets:
SIGNING_KEY_ID:
required: true
SIGNING_PASSWORD:
required: true
SIGNING_SECRET_FILE:
required: true
RELEASER_NEXUS2_USERNAME:
required: true
RELEASER_NEXUS2_PASSWORD:
required: true
push:
branches:
- main
permissions:
id-token: write
contents: write
jobs:
test:
name: Run all River's modules tests
uses: ./.github/workflows/test.yml
build:
needs: test
name: Build all monorepo
uses: ./.github/workflows/build.yml
release:
name: Release all River's modules to Maven Central
needs: build
uses: ./.github/workflows/release.yml
secrets:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_SECRET_FILE: ${{ secrets.SIGNING_SECRET_FILE }}
RELEASER_NEXUS2_USERNAME: ${{ secrets.RELEASER_NEXUS2_USERNAME }}
RELEASER_NEXUS2_PASSWORD: ${{ secrets.RELEASER_NEXUS2_PASSWORD }}