From f7e386a20b7bd442f6ec5158be5cb0a698a8e0ad Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 5 Jul 2023 17:38:26 -0400 Subject: [PATCH] Use maven wrapper in gha. Use commit hash instead of version for imported steps --- .github/workflows/eclipse-ls-extensions.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/eclipse-ls-extensions.yml b/.github/workflows/eclipse-ls-extensions.yml index 44d70c7c0..77c2332a8 100644 --- a/.github/workflows/eclipse-ls-extensions.yml +++ b/.github/workflows/eclipse-ls-extensions.yml @@ -13,9 +13,9 @@ jobs: eclipse-distro-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 with: java-version: '17' distribution: 'temurin' @@ -27,7 +27,7 @@ jobs: - name: Build Language Servers JARs run: | cd headless-services - xvfb-run mvn --batch-mode clean install -DskipTests + xvfb-run ./mvnw --batch-mode clean install -DskipTests # - name: Install GPG key # run: | # echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg.asc @@ -41,4 +41,4 @@ jobs: # gpg_homedir: ${{ github.workspace }} run: | cd eclipse-language-servers - xvfb-run mvn --batch-mode clean deploy -Pe428 -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 \ No newline at end of file + xvfb-run ./mvnw --batch-mode clean deploy -Pe428 -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 \ No newline at end of file