GH-Actions buildNumber

This commit is contained in:
aboyko
2023-06-07 13:53:13 -04:00
parent a4fdf97da2
commit 0daa950fde
2 changed files with 18 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ jobs:
distribution: 'temurin'
- name: Enforce https instead of http
run: ./nohttp.sh
- name: Timestamp
id: timestamp
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
- name: Build Language Servers JARs
run: |
cd headless-services
@@ -32,4 +35,4 @@ jobs:
tools_s3_secret_key: ${{ secrets.TOOLS_S3_SECRET_KEY }}
run: |
cd eclipse-language-servers
xvfb-run mvn --batch-mode clean deploy -Pe427 -Psnapshot -Pgitactions -Dsigning.skip=true -Dhttpclient.retry-max=20 -Declipse.p2.mirrors=false -Ds3service.https-only=true -Dmaven.test.skip=true -Dtycho.localArtifacts=ignore
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