-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (39 loc) · 1.14 KB
/
release.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
name: "Release all"
on:
push:
tags:
- '*.*.*'
- '*.*.*-RC'
- '*.*.*-RC*'
jobs:
build:
uses: ./.github/workflows/build-all-template.yml
with:
skipTests: true
cache-artifacts: |
chutney/packaging/local-dev/target/chutney-local-dev-*.jar
idea-plugin/build/distributions/*.zip
chutney/ui/dist
release-github:
needs: [ build ]
uses: ./.github/workflows/release-github-template.yml
release-to-OSSRH:
if: ${{ ! contains(github.ref_name, 'RC') }}
needs: [ build ]
uses: ./.github/workflows/build-all-template.yml
with:
release: true
server-id: ossrh
secrets:
gpg-private-key: ${{secrets.CHUTNEY_GPG_PRIVATE_KEY}}
gpg-passphrase: ${{ secrets.CHUTNEY_GPG_PASSPHRASE }}
gpg-key-id: ${{ secrets.CHUTNEY_GPG_KEY_ID }}
maven-username: ${{ secrets.OSSRH_USERNAME }}
maven-password: ${{ secrets.OSSRH_PASSWORD }}
release-docker:
needs: [ build ]
uses: ./.github/workflows/release-docker-template.yml
with:
version: ${{needs.build.outputs.PROJECT_VERSION}}
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}