Skip to content

Commit dd852f9

Browse files
committed
macos distr
1 parent 653f245 commit dd852f9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99

1010
MacOs:
1111
runs-on: macos-13
12-
environment: Release
1312
steps:
1413
- uses: actions/checkout@v4
1514
- uses: actions/setup-java@v4
@@ -26,14 +25,20 @@ jobs:
2625
./mvnw clean package --batch-mode --no-transfer-progress
2726
- run: |
2827
$JAVA_HOME/bin/jpackage @target/jpackage-macos.args --type dmg
28+
- name: Notarize Release Build
29+
uses: lando/notarize-action@v2
30+
with:
31+
product-path: target/distr/macos/*.dmg
32+
appstore-connect-username: ${{ secrets.MACOS_NOTARIZATION_USERNAME }}
33+
appstore-connect-password: ${{ secrets.MACOS_NOTARIZATION_PASSWORD }}
34+
appstore-connect-team-id: ${{ secrets.MACOS_NOTARIZATION_TEAM_ID }}
2935
- uses: softprops/action-gh-release@v2
3036
with:
3137
draft: true
3238
files: target/distr/macos/*.dmg
3339

3440
Windows:
3541
runs-on: windows-2019
36-
environment: Release
3742
steps:
3843
- uses: actions/checkout@v4
3944
- uses: actions/setup-java@v4

0 commit comments

Comments
 (0)