Skip to content

Commit 76cac8f

Browse files
committed
working on build
1 parent 9bec545 commit 76cac8f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
gradle-version: 7.4
2424
- run: gradle notifyJenkins
2525
env:
26-
GITHUB_REF_NAME: ${{ github.event.workflow_run.head_branch }}
26+
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
2727
BUILD_RUN_ID: ${{ github.event.workflow_run.id }}
2828
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ task notifyJenkins(type: ExecuteRemoteJenkins) {
424424
def runId = System.getenv('BUILD_RUN_ID')
425425
def githubToken = System.getenv('GITHUB_TOKEN')
426426
def githubRef = System.getenv('GITHUB_REF')
427-
def githubRefName = System.getenv('GITHUB_REF_NAME')
427+
def headBranch = System.getenv('HEAD_BRANCH')
428428

429429
jobUrl = "https://ci.eclipse.org/efxclipse/job/efxclipse_drift_build"
430430
buildParameters = [
@@ -433,7 +433,7 @@ task notifyJenkins(type: ExecuteRemoteJenkins) {
433433
GITHUB_ACCESS_TOKEN: githubToken,
434434
GIT_SHA: Versioning.gitSHA,
435435
GITHUB_REF: githubRef,
436-
GITHUB_REF_NAME: githubRefName
436+
GITHUB_REF_NAME: headBranch
437437
]
438438
}
439439

0 commit comments

Comments
 (0)