Notarization on GH hosted. Add on dispatch event to manually launch distro builds

This commit is contained in:
aboyko
2023-07-12 22:46:55 -04:00
parent 1d0c488cf8
commit d8210dabe1
6 changed files with 54 additions and 11 deletions

View File

@@ -54,6 +54,9 @@ jobs:
MACOS_CERTIFICATE_ID: ${{ secrets.MACOS_CERTIFICATE_ID }}
KEYCHAIN: /Users/runner/Library/Keychains/login.keychain-db
MACOS_NOTARIZATION_SERVICE_URL: http://localhost:8080
AC_USERNAME: ${{ secrets.AC_USERNAME }}
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
APPLE_TEAM_ID: {{ secrets.APPLE_TEAM_ID }}
run: |
cd eclipse-distribution
./mvnw --batch-mode -U clean deploy -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} -Pgitactions -Pgpg.sign -Dsigning.skip=true -Dmaven.repo.local=~/.m2/repository-signed -Dhttpclient.retry-max=20 -Dmaven.test.skip=true -Declipse.p2.mirrors=false -Dtycho.localArtifacts=ignore -Ds3service.https-only=true -Dp2.replaceQualifier=true -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=1200000 -Dorg.eclipse.equinox.p2.transport.ecf.retry=5 -Dskip.eclipserun.proxies=false -Dskip.osx.signing=false -Dskip.win.signing=false -Dskip.osx.notarizing=false -Dtycho.equinox.resolver.uses=true

View File

@@ -1,12 +1,12 @@
name: Eclipse LS Extensions Snapshot Build
# configure manual trigger
#on:
# workflow_dispatch:
on:
push:
branches:
- 'main'
workflow_dispatch:
#on:
# push:
# branches:
# - 'main'
jobs:

View File

@@ -73,6 +73,9 @@ jobs:
gpg_keyname: ${{ secrets.GPG_KEYID }}
MACOS_CERTIFICATE_ID: ${{ secrets.MACOS_CERTIFICATE_ID }}
MACOS_NOTARIZATION_SERVICE_URL: http://localhost:8080
AC_USERNAME: ${{ secrets.AC_USERNAME }}
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
APPLE_TEAM_ID: {{ secrets.APPLE_TEAM_ID }}
run: |
cd eclipse-distribution
KEYCHAIN=$RUNNER_TEMP/app-signing.keychain-db

View File

@@ -7,6 +7,7 @@ concurrency:
#on:
# workflow_dispatch:
on:
workflow_dispatch:
workflow_run:
workflows: ["Eclipse LS Extensions Snapshot Build"]
types: [completed]

View File

@@ -7,6 +7,7 @@ concurrency:
#on:
# workflow_dispatch:
on:
workflow_dispatch:
workflow_run:
workflows: ["Eclipse LS Extensions Snapshot Build"]
types: [completed]