There was an error while loading. Please reload this page.
1 parent fa722ce commit 47b3985Copy full SHA for 47b3985
.github/workflows/release.yaml
@@ -0,0 +1,34 @@
1
+name: release
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
9
+ publish:
10
+ name: publish release
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: checkout
16
+ uses: actions/checkout@v4
17
18
+ - name: set up jdk
19
+ uses: actions/setup-java@v4
20
+ with:
21
+ distribution: 'temurin'
22
+ java-version: 11
23
+ server-id: oap-releases
24
+ server-username: PUBLISH_USER
25
+ server-password: PUBLISH_KEY
26
27
+ - name: publish release
28
+ env:
29
+ PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
30
+ PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
31
+ SIGN_KEY: ${{ secrets.SIGN_KEY }}
32
+ SIGN_KEY_PASS: ${{ secrets.SIGN_PWD }}
33
+ run: |
34
+ ./mvnw deploy
0 commit comments