From 5b64772b299c133c9bbc86fd1bc6fb84ba2fd46a Mon Sep 17 00:00:00 2001 From: sgknoldus <124128952+sgknoldus@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:59:14 +0530 Subject: [PATCH] Update car-demo-pipeline.yml --- .github/workflows/car-demo-pipeline.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/car-demo-pipeline.yml b/.github/workflows/car-demo-pipeline.yml index 0ce94df0..083c2c37 100644 --- a/.github/workflows/car-demo-pipeline.yml +++ b/.github/workflows/car-demo-pipeline.yml @@ -39,7 +39,18 @@ jobs: run: | cat $GITHUB_WORKSPACE/settings.xml env + + - name: Set up Maven settings + run: | + mkdir -p $HOME/.m2 + echo "githubNashTech-Labs$***env.GITHUB_TOKEN***" > $HOME/.m2/settings.xml + #env: + #GITHUB_USERNAME: ${{ github.actor }} + - name: Display Actor and Token + run: | + echo "GITHUB_ACTOR: $GITHUB_ACTOR" + echo "GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" - name: Build, Publish, and Deploy run: |