Git actions trial
This commit is contained in:
29
.github/workflows/eclipse-ls-extensions.yml
vendored
Normal file
29
.github/workflows/eclipse-ls-extensions.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Eclipse LS Extensions Snapshot
|
||||
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - 'main'
|
||||
|
||||
jobs:
|
||||
|
||||
eclipse-distro-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Enforce https instead of http
|
||||
run: ./nohttp.sh
|
||||
- name: Build Language Servers JARs
|
||||
run: |
|
||||
cd headless-services
|
||||
xvfb-run mvn --batch-mode clean install -DskipTests
|
||||
- name: Build Eclipse LS extensions
|
||||
run: |
|
||||
cd eclipse-language-servers
|
||||
xvfb-run mvn --batch-mode clean deploy -Pe427 -Psnapshot -Pgit-actions -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dmaven.test.skip=true -Dtycho.localArtifacts=ignore
|
||||
@@ -134,6 +134,18 @@
|
||||
<sts4-language-servers-version>today</sts4-language-servers-version> <!-- this should be overridden in the build with the concrete ls version to include-->
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>git-actions</id>
|
||||
<properties>
|
||||
<dist.accessKey>${secrets.TOOLS_S3_ACCESS_KEY}</dist.accessKey>
|
||||
<dist.secretKey>${secrets.TOOLS_S3_SECRET_KEY}</dist.secretKey>
|
||||
|
||||
<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>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>e425</id>
|
||||
|
||||
Reference in New Issue
Block a user