From 7b69ece735422f4626f159901a9625465999ab4e Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 7 Jun 2023 11:21:39 -0400 Subject: [PATCH] Git actions trial --- .github/workflows/eclipse-ls-extensions.yml | 29 +++++++++++++++++++++ eclipse-distribution/pom.xml | 12 +++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/eclipse-ls-extensions.yml diff --git a/.github/workflows/eclipse-ls-extensions.yml b/.github/workflows/eclipse-ls-extensions.yml new file mode 100644 index 000000000..65799c5d4 --- /dev/null +++ b/.github/workflows/eclipse-ls-extensions.yml @@ -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 \ No newline at end of file diff --git a/eclipse-distribution/pom.xml b/eclipse-distribution/pom.xml index 43cabe6ae..4fd156729 100644 --- a/eclipse-distribution/pom.xml +++ b/eclipse-distribution/pom.xml @@ -134,6 +134,18 @@ today + + + git-actions + + ${secrets.TOOLS_S3_ACCESS_KEY} + ${secrets.TOOLS_S3_SECRET_KEY} + + trials + ${dist.type}/${dist.key}/${dist.project}/${dist.pathpostfix} + https://dist.springsource.com/${dist.type}/TOOLS/trials/sts4-language-server-integrations/${sts4-language-servers-version} + + e425