Properly pass env vars with gpg data to maven
This commit is contained in:
6
.github/workflows/eclipse-ls-extensions.yml
vendored
6
.github/workflows/eclipse-ls-extensions.yml
vendored
@@ -33,9 +33,9 @@ jobs:
|
||||
env:
|
||||
tools_s3_access_key: ${{ secrets.TOOLS_S3_ACCESS_KEY }}
|
||||
tools_s3_secret_key: ${{ secrets.TOOLS_S3_SECRET_KEY }}
|
||||
gpg.passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
gpg.keyname: ${{ secrets.GPG_KEYID }}
|
||||
gpg.homedir: '~/gpg-keyring'
|
||||
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
gpg_keyname: ${{ secrets.GPG_KEYID }}
|
||||
gpg_homedir: '~/gpg-keyring'
|
||||
run: |
|
||||
cd eclipse-language-servers
|
||||
xvfb-run mvn --batch-mode clean deploy -Pe427 -Psnapshot -Pgitactions -DbuildNumber=${{ steps.timestamp.outputs.timestamp }} -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dmaven.test.skip=true -Dtycho.localArtifacts=ignore
|
||||
@@ -137,6 +137,10 @@
|
||||
<dist.pathpostfix>trials</dist.pathpostfix>
|
||||
<dist.path>${dist.type}/${dist.key}/${dist.project}/${dist.pathpostfix}</dist.path>
|
||||
<sts4-language-servers-p2-repo>https://dist.springsource.com/${dist.type}/TOOLS/trials/sts4-language-server-integrations/${sts4-language-servers-version}</sts4-language-servers-p2-repo>
|
||||
|
||||
<gpg.passphrase>${env.gpg_passphrase}</gpg.passphrase>
|
||||
<gpg.keyname>${env.gpg_keyname}</gpg.keyname>
|
||||
<gpg.homedir>${env.gpg_homedir}</gpg.homedir>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user